summaryrefslogtreecommitdiff
path: root/src/cookie_login.clj
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-02-24 08:11:03 -0500
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-02-24 08:11:03 -0500
commit7b9c7f610974c56f13e05387c1f5ff9d7ca16ad0 (patch)
tree4086d35a5a4fa49808ec3a9f5fb8b0d9109ac93c /src/cookie_login.clj
parent0f8f1b234276514560e6df3bb6f6bac56fa9807d (diff)
parent49ef1a688025d9183452fe5f1dccf7802d64dc62 (diff)
resolved merge
Diffstat (limited to 'src/cookie_login.clj')
-rwxr-xr-xsrc/cookie_login.clj5
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*]