Daniel Campoverde [alx741]
9014192c66
Update changelog
2017-02-18 18:31:05 -05:00
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
Michael Snoyman
cdc6c8ae04
Version bumps/changelog updates
2017-02-08 11:20:31 +02: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
854e0e45e7
Update relevant changelog
2017-02-07 01:00:19 +05:30
Sibi Prabakaran
dddae24786
Export plugin identifier for GoogleEmail2 module
2017-02-07 01:00:00 +05:30
Sibi Prabakaran
6f1356f2a1
Update changelog
2017-02-05 20:27:00 +05:30
Sibi Prabakaran
0c3e1d2299
Derive Show for Creds type
...
Useful for doing liftIO $ print inside Yesod handlers like
authenticate.
2017-02-05 20:25:23 +05:30
Michael Snoyman
aefd074efa
Cleanup GHC 8 redundant constraints
2017-02-05 13:35:12 +02:00
Michael Snoyman
3dc2d10b30
Compile with -Wall -Werror
2017-02-05 12:09:18 +02:00
Michael Snoyman
64ed0792bc
Check mime-type for JSON bodies #1330
2017-02-02 08:10:19 +02:00
Michael Snoyman
db883f19b8
Fix some whitespace
2017-02-02 07:43:55 +02:00
Sibi Prabakaran
4330461033
Change the type signature from Text to Verkey
...
Since the other type signatures of the typeclass has VerKey instead of
Text, it would be better to use VerKey here also to maintain
consistency. Also, IMO this signature is more easy to follow ( I had to
look at source to see how the verification key was generated. )
2016-12-30 18:06:40 +05:30
Sibi Prabakaran
08f994103a
Add documentation for JSON endpoints for Yesod.Auth.Email module
2016-12-08 14:25:08 +05:30
Michael Snoyman
98854b4de3
Version bump for #1317
2016-12-07 09:23:53 -05:00
Sibi Prabakaran
60f66b4c3a
Add relevant changelog
2016-12-07 14:09:01 +05:30
Sibi Prabakaran
8f8c99db88
Do parseJsonBody only when form data is not found
2016-12-07 14:08:37 +05:30
Sibi Prabakaran
0255f93c22
Export croatianMessage
2016-12-06 18:44:46 +05:30
Sibi Prabakaran
47b2877c79
More Haddock fixes
2016-12-06 18:44:38 +05:30
Sibi Prabakaran
75df4e0468
Use @since for proper haddock rendering
2016-12-06 18:21:36 +05:30
Sibi Prabakaran
83575e92a0
Fix typo: /s/interoprate/interoperate
2016-12-06 18:20:18 +05:30
Sibi Prabakaran
85bd15d109
Add json support for postPasswordR
2016-12-06 18:17:19 +05:30
Sibi Prabakaran
b6cd72f49f
Implement Login via JSON endpoint
...
Add additional handling of JSON endpoint in addition to the HTML form
method.
2016-12-06 15:20:51 +05:30
Sibi Prabakaran
19840cdc89
Add json support for postRegisterR
2016-12-05 19:32:23 +05:30
Michael Snoyman
2c4e19e0b6
Version bump for #1309
2016-11-29 13:48:42 +02:00
Filip Gralinski
a3929aa9bb
remove invalid Google OpenID link
2016-11-26 19:39:24 +01:00
Sibi Prabakaran
696faa3fd0
req is not needed.
2016-11-20 13:43:01 +05:30
Sibi Prabakaran
10850f5cee
Use checkCsrfHeaderOrParam instead of manual check
2016-11-20 13:32:15 +05:30
Sibi Prabakaran
7f17d829b3
Fix CSRF security vulnerability in registerHelper function
...
Return a 403 status code if the csrf tokens are matched. This currently
affects two endpoints: During registration and during password reset
forms.
This curl request demonstrates how this can be exploited to register new
email:
curl -i --header "Accept: application/json" --request POST -F
"email=sibi@psibi.in" http://localhost:3005/auth/page/email/register
With the patch applied, it will respond with this:
{"message":"Permission Denied. A valid CSRF token wasn't present in HTTP
headers or POST parameters. Because the request could have been forged,
it's been rejected altogether. Check the Yesod.Core.Handler docs of the
yesod-core package for details on CSRF protection."}
2016-11-20 03:59:32 +05:30
Bryan Richter
add9d4393a
Comment on unsafePerformIO, close #1245
2016-10-03 09:08:22 -07:00
Michael Snoyman
a04d2b25ba
Version bump
2016-09-02 12:39:01 +03:00
kevin147147
e27cebb8a5
Translation bug in german message
...
missing space
2016-09-01 11:55:44 +02:00
Michael Snoyman
d2482bf178
Version bump
2016-08-14 15:44:53 +03:00
Michael Snoyman
25cb163e11
Relax upper bounds for persistent 2.6
2016-08-14 15:41:17 +03:00
Felix Paulusma
76726063e4
Updated some Dutch translations.
2016-07-12 17:19:09 +02:00
Michael Snoyman
6595a707d0
Version bump
2016-06-27 10:46:19 +03:00
Bryan Richter
5342f891f3
Add key reuse warning ( #1222 ) ( #1233 )
2016-05-14 15:40:07 -07:00
Michael Snoyman
bd1ea59cbd
Version bump
2016-04-25 18:17:13 +03:00
Erik de Castro Lopo
34e0c8b638
yesod-auth: Fixes for persistent 2.5
2016-04-19 15:18:46 +10:00
Eric Easley
d99de61554
Use CPP to maintain backward compat
2016-04-18 10:03:39 -07:00
Eric Easley
8e71f766b5
Use PersistRecordBackend constraint synonym
2016-04-15 21:25:40 -07:00
Eric Easley
bf3a9c9dd4
Switch to released persistent-2.5
2016-04-14 15:14:56 -07:00
Eric Easley
f7494260b0
Merge remote-tracking branch 'upstream/master'
2016-04-11 09:16:06 -07:00
Christopher League
85a62ab074
Bump yesod-auth version for CSRF support ( #1205 )
2016-04-03 12:43:15 -04:00
Christopher League
fd870c95f9
Provide CSRF token in Dummy login form
2016-04-02 23:04:58 -04:00
Eric Easley
02dcb99cad
Merge remote-tracking branch 'upstream/master'
2016-03-31 13:03:47 -07:00