packages feed

yesod-auth 1.6.4.1 → 1.6.5

raw patch · 3 files changed

+10/−5 lines, 3 filesdep ~persistent

Dependency ranges changed: persistent

Files

ChangeLog.md view
@@ -1,6 +1,11 @@ # ChangeLog for yesod-auth +## 1.6.5++* Add support for persistent 2.9 [#1516](https://github.com/yesodweb/yesod/pull/1516), [#1561](https://github.com/yesodweb/yesod/pull/1561)+ ## 1.6.4.1+ * Email: Fix forgot-password endpoint [#1537](https://github.com/yesodweb/yesod/pull/1537)  ## 1.6.4
Yesod/Auth/Hardcoded.hs view
@@ -52,7 +52,7 @@ 'AuthId' must have an instance of 'PathPiece' class, this is needed to store user identifier in session (this happens in 'setCreds' and 'setCredsRedirect' actions) and to read that identifier from session (this happens in-`dafaultMaybeAuthId` action).  So we have to define it:+`defaultMaybeAuthId` action).  So we have to define it:  @ import Text.Read (readMaybe)@@ -85,7 +85,7 @@  @ lookupUser :: Text -> Maybe SiteManager-lookupUser username = find (\m -> manUserName m == username) siteManagers+lookupUser username = find (\\m -> manUserName m == username) siteManagers @  @@ -113,7 +113,7 @@  validPassword :: Text -> Text -> Bool validPassword u p =-  case find (\m -> manUserName m == u && manPassWord m == p) siteManagers of+  case find (\\m -> manUserName m == u && manPassWord m == p) siteManagers of     Just _ -> True     _      -> False @
yesod-auth.cabal view
@@ -1,5 +1,5 @@ name:            yesod-auth-version:         1.6.4.1+version:         1.6.5 license:         MIT license-file:    LICENSE author:          Michael Snoyman, Patrick Brisbin@@ -43,7 +43,7 @@                    , http-types                    , memory                    , nonce                   >= 1.0.2     && < 1.1-                   , persistent              >= 2.8       && < 2.9+                   , persistent              >= 2.8       && < 2.10                    , random                  >= 1.0.0.2                    , safe                    , shakespeare