Increase session ttl

This commit is contained in:
kagel 2016-08-30 23:25:11 +03:00
parent a484d477f4
commit f9d983076c
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@
wrap-auth
wrap-webjars
wrap-flash
(wrap-session {:cookie-attrs {:http-only true}})
(wrap-session {:timeout (* 60 60 6)
:cookie-attrs {:http-only true}})
(wrap-defaults
(-> site-defaults
(assoc-in [:security :anti-forgery] false)