packages feed

yesod-auth 1.6.10 → 1.6.10.1

raw patch · 3 files changed

+48/−43 lines, 3 filesdep ~persistentPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: persistent

API changes (from Hackage documentation)

- Yesod.Auth: data family Route a :: Type
+ Yesod.Auth: data family Route a

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for yesod-auth +## 1.6.10.1++* Add support for Persistent 2.11 [#1701](https://github.com/yesodweb/yesod/pull/1701)+ ## 1.6.10  * Updated `AuthMessage` data type in `Yesod.Auth.Message` to accommodate registration flow where password is supplied initially: deprecated `AddressVerified` and split into `EmailVerifiedChangePass` and `EmailVerified`
Yesod/Auth/Email.hs view
@@ -485,13 +485,13 @@         let userRes = UserLoginForm Control.Applicative.<$> emailRes                                     Control.Applicative.<*> passwordRes         let widget = do-            [whamlet|-                #{extra}-                <div>-                    ^{fvInput emailView}-                <div>-                    ^{fvInput passwordView}-            |]+              [whamlet|+                  #{extra}+                  <div>+                      ^{fvInput emailView}+                  <div>+                      ^{fvInput passwordView}+              |]          return (userRes, widget)     emailSettings emailMsg = do@@ -545,11 +545,11 @@              let userRes = UserForm <$> emailRes             let widget = do-                [whamlet|-                    #{extra}-                    ^{fvLabel emailView}-                    ^{fvInput emailView}-                |]+                  [whamlet|+                      #{extra}+                      ^{fvLabel emailView}+                      ^{fvInput emailView}+                  |]              return (userRes, widget) @@ -659,11 +659,11 @@          let forgotPasswordRes = ForgotPasswordForm <$> emailRes         let widget = do-            [whamlet|-                #{extra}-                ^{fvLabel emailView}-                ^{fvInput emailView}-            |]+              [whamlet|+                  #{extra}+                  ^{fvLabel emailView}+                  ^{fvInput emailView}+              |]         return (forgotPasswordRes, widget)      emailSettings =@@ -808,29 +808,29 @@          let passwordFormRes = PasswordForm <$> currentPasswordRes <*> newPasswordRes <*> confirmPasswordRes         let widget = do-            [whamlet|-                #{extra}-                <table>-                    $if needOld-                        <tr>-                            <th>-                                ^{fvLabel currentPasswordView}-                            <td>-                                ^{fvInput currentPasswordView}-                    <tr>-                        <th>-                            ^{fvLabel newPasswordView}-                        <td>-                            ^{fvInput newPasswordView}-                    <tr>-                        <th>-                            ^{fvLabel confirmPasswordView}-                        <td>-                            ^{fvInput confirmPasswordView}-                    <tr>-                        <td colspan="2">-                            <input type=submit value=_{Msg.SetPassTitle}>-            |]+              [whamlet|+                  #{extra}+                  <table>+                      $if needOld+                          <tr>+                              <th>+                                  ^{fvLabel currentPasswordView}+                              <td>+                                  ^{fvInput currentPasswordView}+                      <tr>+                          <th>+                              ^{fvLabel newPasswordView}+                          <td>+                              ^{fvInput newPasswordView}+                      <tr>+                          <th>+                              ^{fvLabel confirmPasswordView}+                          <td>+                              ^{fvInput confirmPasswordView}+                      <tr>+                          <td colspan="2">+                              <input type=submit value=_{Msg.SetPassTitle}>+              |]          return (passwordFormRes, widget)     currentPasswordSettings =
yesod-auth.cabal view
@@ -1,5 +1,6 @@+cabal-version:   >=1.10 name:            yesod-auth-version:         1.6.10+version:         1.6.10.1 license:         MIT license-file:    LICENSE author:          Michael Snoyman, Patrick Brisbin@@ -7,7 +8,6 @@ synopsis:        Authentication for Yesod. category:        Web, Yesod stability:       Stable-cabal-version:   >= 1.6.0 build-type:      Simple homepage:        http://www.yesodweb.com/ description:     API docs and the README are available at <http://www.stackage.org/package/yesod-auth>@@ -20,6 +20,7 @@   default: True  library+    default-language: Haskell2010     build-depends:   base                    >= 4.10      && < 5                    , aeson                   >= 0.7                    , authenticate            >= 1.3.4@@ -43,7 +44,7 @@                    , http-types                    , memory                    , nonce                   >= 1.0.2     && < 1.1-                   , persistent              >= 2.8       && < 2.11+                   , persistent              >= 2.8       && < 2.12                    , random                  >= 1.0.0.2                    , safe                    , shakespeare