diff --git a/Yesod/Auth.hs b/Yesod/Auth.hs index 031a9f17..4beb40f1 100644 --- a/Yesod/Auth.hs +++ b/Yesod/Auth.hs @@ -149,10 +149,10 @@ $nothing ] getLoginR :: YesodAuth m => GHandler Auth m RepHtml -getLoginR = loginHandler +getLoginR = setUltDestReferer >> loginHandler getLogoutR :: YesodAuth m => GHandler Auth m () -getLogoutR = postLogoutR -- FIXME redirect to post +getLogoutR = setUltDestReferer >> postLogoutR -- FIXME redirect to post postLogoutR :: YesodAuth m => GHandler Auth m () postLogoutR = do diff --git a/yesod-auth.cabal b/yesod-auth.cabal index 18b24c43..fef6d125 100644 --- a/yesod-auth.cabal +++ b/yesod-auth.cabal @@ -21,7 +21,7 @@ library build-depends: base >= 4 && < 4.3 build-depends: authenticate >= 0.9 && < 0.10 , bytestring >= 0.9.1.4 && < 0.10 - , yesod-core >= 0.8.1 && < 0.9 + , yesod-core >= 0.8.3 && < 0.9 , wai >= 0.4 && < 0.5 , template-haskell , pureMD5 >= 1.1 && < 2.2