Bugfix for ResetPasswordForm in config.py
This commit is contained in:
@@ -3,7 +3,6 @@ from datetime import timedelta
|
||||
import redis
|
||||
|
||||
from common.utils.prompt_loader import load_prompt_templates
|
||||
from eveai_app.views.security_forms import ResetPasswordForm
|
||||
|
||||
basedir = path.abspath(path.dirname(__file__))
|
||||
|
||||
@@ -46,7 +45,6 @@ class Config(object):
|
||||
SECURITY_EMAIL_SUBJECT_PASSWORD_NOTICE = 'Your Password Has Been Reset'
|
||||
SECURITY_EMAIL_PLAINTEXT = False
|
||||
SECURITY_EMAIL_HTML = True
|
||||
SECURITY_RESET_PASSWORD_FORM = ResetPasswordForm
|
||||
|
||||
# Ensure Flask-Security-Too is handling CSRF tokens when behind a proxy
|
||||
SECURITY_CSRF_PROTECT_MECHANISMS = ['session']
|
||||
|
||||
Reference in New Issue
Block a user