chore(foundation): ditch redirectToReferrer in favour of SSOut
This commit is contained in:
parent
9856272734
commit
05acba8cbe
@ -134,7 +134,7 @@ instance YesodAuth UniWorX where
|
|||||||
-- Where to send a user after logout
|
-- Where to send a user after logout
|
||||||
logoutDest _ = NewsR
|
logoutDest _ = NewsR
|
||||||
-- Override the above two destinations when a Referer: header is present
|
-- Override the above two destinations when a Referer: header is present
|
||||||
redirectToReferer _ = True
|
redirectToReferer _ = False
|
||||||
|
|
||||||
loginHandler = do
|
loginHandler = do
|
||||||
plugins <- getsYesod authPlugins
|
plugins <- getsYesod authPlugins
|
||||||
|
|||||||
Reference in New Issue
Block a user