diff options
| author | sostler <sbostler@gmail.com> | 2010-02-24 08:02:59 -0500 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2010-02-24 08:02:59 -0500 |
| commit | 223f95c03b41370219268d53fceb951808f780e6 (patch) | |
| tree | 9f4c4b834855e9b2708ab85f99030e19e04d9f41 /src/cookie_login.clj | |
| parent | 5c4b6fdd2e39449ace1b3bd9379b022a8d6211c6 (diff) | |
Fixed cookie logins
Diffstat (limited to 'src/cookie_login.clj')
| -rwxr-xr-x | src/cookie_login.clj | 5 |
1 files changed, 2 insertions, 3 deletions
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*] |
