mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-23 12:50:33 +08:00
Add the ability to specify additional fields on the user model that can be used for logging in.
This commit is contained in:
@@ -84,7 +84,8 @@ _default_config = {
|
||||
'EMAIL_SUBJECT_PASSWORDLESS': 'Login instructions',
|
||||
'EMAIL_SUBJECT_PASSWORD_NOTICE': 'Your password has been reset',
|
||||
'EMAIL_SUBJECT_PASSWORD_CHANGE_NOTICE': 'Your password has been changed',
|
||||
'EMAIL_SUBJECT_PASSWORD_RESET': 'Password reset instructions'
|
||||
'EMAIL_SUBJECT_PASSWORD_RESET': 'Password reset instructions',
|
||||
'USER_IDENTITY_ATTRIBUTES': ['email']
|
||||
}
|
||||
|
||||
#: Default Flask-Security messages
|
||||
|
||||
Reference in New Issue
Block a user