Set redirectToReferer to True #23

This commit is contained in:
Michael Snoyman 2014-11-11 18:50:09 +02:00
parent 5b9ace6425
commit dc5f703cbf

View File

@ -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