Use complete for redirect after logout
This commit is contained in:
parent
09c448d282
commit
a2f788aa71
|
@ -27,5 +27,5 @@
|
|||
(GET "/" {{user :identity} :session}
|
||||
(home-page user))
|
||||
(GET "/logout" {session :session}
|
||||
(assoc (redirect "/")
|
||||
(assoc (redirect (str (env :server-address) "/"))
|
||||
:session nil)))
|
||||
|
|
Loading…
Reference in New Issue