From 223f95c03b41370219268d53fceb951808f780e6 Mon Sep 17 00:00:00 2001 From: sostler Date: Wed, 24 Feb 2010 08:02:59 -0500 Subject: Fixed cookie logins --- src/cookie_login.clj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/cookie_login.clj') diff --git a/src/cookie_login.clj b/src/cookie_login.clj index e507876..8c948a6 100755 --- a/src/cookie_login.clj +++ b/src/cookie_login.clj @@ -38,7 +38,7 @@ "Middleware to support automatic cookie login. Must be placed after the with-session middleware. -Must be given three arguments: + Must be given three arguments: - process-login-token? Function to apply to request map to determine whether to process login token or not. If a false value is returned, @@ -56,8 +56,7 @@ Must be given three arguments: - *login-token-expiry* The number of milliseconds a login token is valid for. - Defaults to one week. -" + Defaults to one week." [handler process-login-token? token-maker token-reader] (let [login-token-key *login-token-key* login-token-expiry *login-token-expiry*] -- cgit v1.2.3-70-g09d2