From bd9d0f992244fb010de43a07c04025a6ff129887 Mon Sep 17 00:00:00 2001 From: hainq Date: Thu, 5 Jul 2018 20:23:57 +0700 Subject: [PATCH] yesod-auth: Bump version & Update Changelog --- yesod-auth/ChangeLog.md | 16 ++++++++++++++++ yesod-auth/yesod-auth.cabal | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/yesod-auth/ChangeLog.md b/yesod-auth/ChangeLog.md index 1280ad13..8f35bbea 100644 --- a/yesod-auth/ChangeLog.md +++ b/yesod-auth/ChangeLog.md @@ -1,3 +1,19 @@ +## 1.6.5 + +* Email: Immediately register with a password [#1389](https://github.com/yesodweb/yesod/issues/1389) +To configure this new functionality: + 1. Define `addUnverifiedWithPass`, e.g: + ``` + addUnverified email verkey = liftHandler $ runDB $ do + void $ insert $ UserLogin email Nothing (Just verkey) False + return email + + addUnverifiedWithPass email verkey pass = liftHandler $ runDB $ do + void $ insert $ UserLogin email (Just pass) (Just verkey) False + return email + ``` + 2. Add a `password` field to your client forms. + ## 1.6.4 * Make `registerHelper` configurable [#1524](https://github.com/yesodweb/yesod/issues/1524) diff --git a/yesod-auth/yesod-auth.cabal b/yesod-auth/yesod-auth.cabal index 120950cc..6650831c 100644 --- a/yesod-auth/yesod-auth.cabal +++ b/yesod-auth/yesod-auth.cabal @@ -1,5 +1,5 @@ name: yesod-auth -version: 1.6.4 +version: 1.6.5 license: MIT license-file: LICENSE author: Michael Snoyman, Patrick Brisbin