mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Set redirectToReferer to True #23
This commit is contained in:
parent
5b9ace6425
commit
dc5f703cbf
@ -163,6 +163,8 @@ instance YesodAuth App where
|
||||
-- Where to send a user after logout
|
||||
logoutDest _ = HomeR
|
||||
|
||||
redirectToReferer _ = True
|
||||
|
||||
getAuthId creds = do
|
||||
muid <- maybeAuthId
|
||||
join $ runDB $ case muid of
|
||||
|
||||
Loading…
Reference in New Issue
Block a user