Increase the session timeout #21

This commit is contained in:
Aaron Fischer 2017-04-18 21:38:09 +02:00
parent 6c6054ed38
commit 7ab11a8069

View file

@ -92,7 +92,8 @@
(-> ((:middleware defaults) handler)
wrap-webjars
wrap-flash
(wrap-session {:cookie-attrs {:http-only true}})
(wrap-session {:timeout (* 60 60 24 7)
:cookie-attrs {:http-only true}})
wrap-cookies
(wrap-defaults
(-> site-defaults