Michael Snoyman
3c65d49376
Hackage wants newer cabal-version
2020-11-06 09:07:06 +02:00
charukiewicz
c5e76faf4d
adjusted indentation of if/then/else to be more compact
2020-03-21 12:49:18 -05:00
charukiewicz
61f1e5eeae
added sendForgotPasswordEmail to YesodAuthEmail typeclass and incorporated into defaultRegisterHelper
2020-03-21 02:15:27 -05:00
charukiewicz
f80ec711ff
updated AuthMessage to accommodate user registration flow with password: added EmailVerified and EmailVerifiedChangePass, deprecated AddressVerified
2020-03-20 22:22:13 -05:00
charukiewicz
c35c2fddc2
added passwordResetHelper method, exposed defaultRegisterHelper
2020-02-05 23:45:02 -06:00
charukiewicz
abdd844279
added registerHandler method to YesodAuthEmail class to enable override
2020-02-05 01:21:56 -06:00
Juan Paucar
c279547962
Remove unnecesary Typeable deriving
2020-01-17 11:48:58 -05:00
Виталий Котляров
ddc71e665b
Translated message "CurrentPassword" for russian language.
2019-10-26 23:08:38 +03:00
3v0k4
baa6bfb3a8
Dummy: Check for JSON first
2019-08-23 00:48:17 +02:00
3v0k4
657b790a3d
Dummy: Add support for JSON submissions
2019-08-19 19:25:37 +02:00
Martin Milata
b4d3e01afb
Remove comma from <form> tag
2019-06-18 01:56:32 +02:00
Michael Snoyman
b1e718397b
Deprecate GoogleEmail2 ( fixes #1579 )
2019-02-12 18:52:47 +02:00
oddvars
41101b20dd
minor typos
...
fixed typo and escaped backslash for haddock
2018-09-13 16:42:52 +02:00
Michael Snoyman
b7a3385a89
Merge pull request #1537 from kikaiteam/fix_forgot_pass_endpoint
...
AuthEmail: Fix forgot-password endpoint
2018-07-10 11:56:28 +03:00
hainq
72ad3082ce
AuthEmail: no-op, improve doc format
2018-07-09 18:24:11 +07:00
hainq
0c136f14eb
AuthEmail: Fix forgot-password endpoint
...
This is a quick fix for PR#1524.
Currently, defining `emailPreviouslyRegisteredResponse` will prevent
`sendConfirmationEmail` from happening, even when `registerHelper` is
called from `postForgotPasswordR`.
2018-07-09 17:34:15 +07:00
Michael Snoyman
71d951c09b
Correct the version bump (previous unreleased changes)
2018-07-09 13:10:55 +03:00
hainq
6a64debfa0
Redirect to afterVerificationWithPass when account was registered with a password
2018-07-09 14:02:10 +07:00
hainq
54b1d3d3ff
AuthEmail: Immediately register with a password
...
Register endpoint: Support an optional "password" param that can be used
to set new accounts' password immediately.
2018-07-09 14:02:10 +07:00
Steven Leiva
8d58a56577
Make behavior of registerHelper configurable.
...
The behavior of `registerHelper` when an email that is already-verified
tries to register is now configurable via the
`emailPreviouslyRegisteredResponse` method of the `YesodAuthEmail`
typeclass.
2018-06-23 09:56:20 -05:00
Ping Chen
468fba2226
generalize type signature of GoogleEmail2.getPerson
2018-04-09 14:21:48 +09:00
Michael Snoyman
6830a9840c
Merge branch 'better-monads' into no-transformers
2018-01-17 06:43:52 +02:00
Michael Snoyman
60f65ed267
Cleanup warnings
2018-01-15 15:09:07 +02:00
Michael Snoyman
3bb654857c
Ditch ResumableSource
2018-01-12 00:09:54 +02:00
Michael Snoyman
fbccfe2306
Merge branch 'better-monads' into no-transformers
2018-01-11 22:49:02 +02:00
Michael Snoyman
a16e75249a
More moving over to unliftio
2017-12-31 09:20:02 +02:00
Michael Snoyman
1b22e6a908
Further transformer cleanup
2017-12-18 17:06:46 +02:00
Michael Snoyman
8e265f6ebc
It all compiles
2017-12-18 15:04:45 +02:00
Michael Snoyman
aed10fc84a
WIP
2017-12-13 14:39:59 +02:00
Michael Snoyman
61c887f501
Start converting yesod-auth over
2017-12-13 13:44:59 +02:00
Cole Brown
600d307310
Extend YesodAuthEmail to support extensible password hashing.
...
This change introduces `hashAndSaltPassword` and `verifyPassword` to the
`YesodAuthEmail` type class, allowing users to implement their own hashing
schemes (i.e. to provide compatibility with an existing database). It also
updates the default handlers to use these new functions when appropriate. The
functions have default implementation such that behavior for legacy applications
should not change.
2017-09-28 14:37:21 -04:00
Jesse Kempf
9edca8e3b5
Correct Yesod-Auth's usage of "log in" vs "login" in English.
...
"Log in" (two words) is a verb, indicating the action of, well, logging
in. "Login" (one word) is a noun, indicating the credentials used to log
in.
2017-08-30 20:40:29 -07:00
Paul Rouse
3c53acdad8
Add "@since" comments for newly exposed Yesod.Auth.Util.PasswordStore
2017-08-29 18:49:21 +01:00
Paul Rouse
464b055568
Expose Yesod.Auth.Util.PasswordStore
2017-08-29 13:40:32 +01:00
Paul Rouse
59f073a41f
Pure move of Yesod.PasswordStore to Yesod.Auth.Util.PasswordStore
2017-08-29 13:34:20 +01:00
GyuYong Jung
1569af55c7
Add Korean translation
2017-08-26 05:27:53 +09:00
Daniel Campoverde
e3041aa17b
Fix auth messages Spanish translation
2017-08-08 11:03:09 -05:00
Michael Snoyman
4b34fe9c72
Fix deprecation warning for LTS 8
2017-07-23 12:25:29 +03:00
Sibi Prabakaran
92849d863c
Port to cryptonite
2017-05-18 08:18:39 +05:30
Sibi
5a37a52080
Merge pull request #1371 from dfordivam/master
...
Japanese message for Current password
2017-04-05 07:34:47 +05:30
Divam
c1fa2645c0
Japanese message for Current password
2017-04-05 10:07:09 +09:00
mingyu guo
757514c536
Completed chineseMessage in Yesod.Auth.Message. Previously, most of the
...
messages are using simplified characters, but the google translated parts are
using traditional characters. I have fixed this as well.
2017-03-28 20:40:05 +10:30
Daniel Campoverde [alx741]
ea5e1cca26
Update emailLoginHandler 'since' version
2017-02-18 18:28:53 -05:00
Daniel Campoverde [alx741]
c5ddf55937
Update emailLoginHandler 'since' version
2017-02-18 15:14:45 -05:00
Daniel Campoverde [alx741]
c78ae95b3a
Fix email auth module
2017-02-18 15:14:45 -05:00
Daniel Campoverde [alx741]
311f7927bb
Merge branch 'master' of https://github.com/yesodweb/yesod
2017-02-18 15:14:31 -05:00
Daniel Campoverde [alx741]
276a9f1321
Add and export defaultEmailLoginHandler
2017-02-06 16:15:38 -05:00
Sibi Prabakaran
d1ec382fc6
Better haddock rendering: Since -> @since
2017-02-07 01:01:05 +05:30
Sibi Prabakaran
dddae24786
Export plugin identifier for GoogleEmail2 module
2017-02-07 01:00:00 +05:30
Michael Snoyman
aefd074efa
Cleanup GHC 8 redundant constraints
2017-02-05 13:35:12 +02:00