Authentication backend for Vervis, fork of Hackage package by the same name
[[ 🗃
^VE2Kr yesod-auth-account
]] ::
[📥 Inbox]
[📤 Outbox]
[🐤 Followers]
[🤝 Collaborators]
[🛠 Commits]
Clone
HTTPS:
git clone https://vervis.peers.community/repos/VE2Kr
SSH:
git clone USERNAME@vervis.peers.community:VE2Kr
Branches
Tags
lts10
::
Changelog.md
next
- Allow custom
AccountDB
instances to reuse theAccountPersistDB
instance and override only what they need to change - Store email as
EmailAddress
instead ofText
- Rename routes to have words in the names separated with dashes
- Email sending methods take the URL as a
Route master
instead ofText
- Don’t show email when resending verification email, because the resend POST can be accessed by anyone (unless I missed the thing that protects it)
- Don’t resend verification email if user is already verified
1.4.3
- Allow newer dependency versions
1.4.2
- Allow persistent 2.5
1.4.1
- Allow newest version of persistent
- Fix some warnings in the test suite
1.4.0
- Add proper support for i18n:
- Moved messages into Yesod.Auth.Account.Message module
- Added renderAccountMessage function to YesodAuthAccount class, which defaults to the english messages.
- resendVerifyEmailWidget, resetPasswordWidget, newAccountForm, resetPasswordForm, and runAccountPersistDB had their context’s updated with a constraint for
YesodAuthAccount db master
, which shouldn’t be a problem.
Use the nonce package for generating the keys sent in the verification and reset password emails. The
nonce
package provides efficient and cryptographically secure nonces.Support yesod 1.4 and persistent 2.1 (also bump our version to 1.4 to match yesod)