Increase the session timeout #21
This commit is contained in:
parent
6c6054ed38
commit
7ab11a8069
1 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,8 @@
|
||||||
(-> ((:middleware defaults) handler)
|
(-> ((:middleware defaults) handler)
|
||||||
wrap-webjars
|
wrap-webjars
|
||||||
wrap-flash
|
wrap-flash
|
||||||
(wrap-session {:cookie-attrs {:http-only true}})
|
(wrap-session {:timeout (* 60 60 24 7)
|
||||||
|
:cookie-attrs {:http-only true}})
|
||||||
wrap-cookies
|
wrap-cookies
|
||||||
(wrap-defaults
|
(wrap-defaults
|
||||||
(-> site-defaults
|
(-> site-defaults
|
||||||
|
|
Loading…
Reference in a new issue