chore(foundation): ditch redirectToReferrer in favour of SSOut

This commit is contained in:
Sarah Vaupel 2024-03-11 14:30:44 +01:00
parent 9856272734
commit 05acba8cbe

View File

@ -134,7 +134,7 @@ instance YesodAuth UniWorX where
-- Where to send a user after logout
logoutDest _ = NewsR
-- Override the above two destinations when a Referer: header is present
redirectToReferer _ = True
redirectToReferer _ = False
loginHandler = do
plugins <- getsYesod authPlugins