Bruno Rocha
23b128bcbd
Allow overwritten on render_template to use Flask-Themes based app
2013-11-07 04:57:54 -02:00
Srijan Choudhary
e1c7ec303f
Use get_json instead of json
...
The `request.json` method now calls `get_json`, which raises `BadRequest` if there is no json data or some error with it. So, it cannot be directly used as a check for presence of json data. This code currently returns a bad request if content type is `application/json` but json data is empty.
https://github.com/mitsuhiko/flask/blob/master/flask/wrappers.py#L110
2013-10-31 10:19:12 +05:30
Robert Clark
b6007cb515
this fixes #175
2013-10-30 18:04:42 -04:00
Matt Wright
1ae6bc3cf1
Add the ability to specify additional fields on the user model that can be used for logging in.
2013-10-16 14:00:36 -04:00
Matt Wright
80f5fa8dbb
Merge branch 'develop' of github.com:mattupstate/flask-security into develop
2013-10-16 11:16:17 -04:00
Matt Wright
75794d5527
Merge pull request #158 from kleschenko/patch-2
...
removed unnecessary utcnow call
2013-10-16 08:16:09 -07:00
Matt Wright
9999325ffb
Show an error if a user tries to change their password and its the same as before. Fixes #160
2013-10-16 11:15:17 -04:00
Matt Wright
b1ac2598c0
Be sure to save user model when using add_role_to_user method for MongoEngineUserDatastore. Fixes #170
2013-10-16 10:55:56 -04:00
Joe Hand
389d944aaf
Add option to disable password change email.
2013-09-15 18:38:36 -06:00
Matt Wright
73ff1c00b3
Fixes #146
2013-09-11 01:10:16 -04:00
Kostyantyn Leschenko
5a780ce741
simplified get_max_age return value
2013-09-05 18:12:31 +03:00
Kostyantyn Leschenko
9ddb909342
removed unnecessary utcnow call
...
is this code required here?
2013-09-03 15:32:49 +03:00
Matt Wright
07bb00f75c
Bump version number to 1.6.9
2013-08-20 12:35:29 -04:00
Matt Wright
9a10be5c90
Merge branch 'develop'
2013-08-20 12:35:12 -04:00
Alexey Poryadin
6f68f1d540
Fix imports from Flask-WTF
2013-08-15 12:46:09 +04:00
Matt Wright
510c7bfa2a
Merge pull request #151 from lupiter/fix-peewee-delete-role
...
Commit deleting role from user (peewee).
2013-08-12 06:58:47 -07:00
Wise, Catherine (ICT Centre, Acton)
7bef96c261
Commit deleting role from user (peewee).
2013-08-12 15:07:13 +10:00
Rotem Yaari
7d6b42e960
#147 : only get by email_or_id if it is numeric
2013-08-11 20:15:06 +03:00
Matt Wright
e773232e5a
Merge branch 'develop'
2013-08-01 16:28:18 -04:00
Matt Wright
f401eac496
Merge branch 'develop' of github.com:mattupstate/flask-security into develop
2013-08-01 16:28:11 -04:00
Matt Wright
f6b532103d
Bump version number to 1.6.8
2013-08-01 16:27:32 -04:00
Matt Wright
7c906de427
When logging in user lookups on email should be case insensitive
2013-08-01 16:22:28 -04:00
Matt Wright
9c03884441
Merge pull request #140 from joeyespo/ignore-validation-errors
...
Ignore validation errors in find_user
2013-07-25 14:28:01 -07:00
Joe Esposito
4ed4579738
Ignore validation errors in find_user
2013-07-24 16:08:19 -04:00
Eric Butler
d3cfddfcac
Use token_callback for checking tokens.
...
Fixes error if user is not found.
2013-07-23 15:37:28 -07:00
Matt Wright
d87765fc3b
PEP8 polish
2013-07-22 12:37:44 -04:00
Matt Wright
0f46f35981
Bump version number to 1.6.7
2013-07-11 14:58:46 -04:00
Matt Wright
8eeb832d2e
Conditionally logout the current user when confirming an email address to prevent unnecessary code/signals to be fired. Fixes #133
2013-07-11 14:50:21 -04:00
rxl
03d27cd600
add logout_user() to the beginning of confirm_email()
2013-07-11 14:14:50 -04:00
rxl
d30a27b3bb
remove '@anonymous_user_required' from confirm_email()
2013-07-11 14:14:28 -04:00
Matt Wright
78903fa2e5
Make password length message configurable.
2013-07-02 10:36:22 -04:00
Matt Wright
514de64303
Bump version number to 1.6.6
2013-06-28 17:24:50 -04:00
Matt Wright
4d8a813004
Bump version number to 1.6.5
2013-06-20 16:01:36 -04:00
Matt Wright
06312ef50f
Fix typo with _external parameter in confirmable.py. Fixes #126
2013-06-20 16:01:22 -04:00
Matt Wright
3d34d87a97
Bump version number to 1.6.4
2013-06-18 15:00:41 -04:00
Matt Wright
d19bb98abd
Version 1.6.4 changes. Refer to CHANGES for updates. Fixes #123 #121 #120 $119
2013-06-18 14:56:12 -04:00
Matt Wright
c24af5ca6e
Whitespace!
2013-05-28 11:11:37 -04:00
Matt Wright
26045fc4dc
Use the _external parameter when generating links for emails
2013-05-28 11:11:19 -04:00
Matt Wright
bf260d4b7e
Add optional next parameter to registration endpoint. Fixes #117 .
2013-05-28 11:01:42 -04:00
Matt Wright
db56ff74a9
Bump version number to 1.6.3
2013-05-08 12:29:48 -04:00
Matt Wright
c587988a3a
Merge branch 'develop' of github.com:mattupstate/flask-security into develop
2013-05-03 12:14:14 -04:00
Matt Wright
f2d5245bd8
Import check to account for new version of MongoEngine
2013-05-03 12:13:58 -04:00
Jay Goel
e749b77ca7
Make flask-login respect SECURITY_FLASH_MESSAGES
2013-04-14 16:37:23 -04:00
Josh Purvis
3b81ec57ea
Changed has_role to accept strings with mongoengine. Fixes #110
2013-04-13 15:11:56 -04:00
Matt Wright
38874433c7
Add tests for Peewee support
2013-04-04 18:09:55 -04:00
Matt Wright
4eda3e756f
PEP8 polish
2013-04-04 16:39:50 -04:00
Matt Wright
4815b1afed
Make find_user method for MongoEngineUserDatastore add contraints to query
2013-04-04 15:50:46 -04:00
Matt Wright
99ac732d10
Bump version number to 1.6.2
2013-04-04 10:24:03 -04:00
Matt Wright
e8b0c62818
Update CHANGES and a little polish
2013-04-04 10:23:51 -04:00
Rodrigue Cloutier
3575a2df18
Fixed http_auth when authorization is not provided in header
2013-04-03 21:29:04 -04:00