Bugfix for ResetPasswordForm in config.py
This commit is contained in:
@@ -17,6 +17,7 @@ from .errors import register_error_handlers
|
||||
from common.utils.celery_utils import make_celery, init_celery
|
||||
from common.utils.template_filters import register_filters
|
||||
from config.config import get_config
|
||||
from eveai_app.views.security_forms import ResetPasswordForm
|
||||
|
||||
|
||||
def create_app(config_file=None):
|
||||
@@ -37,6 +38,7 @@ def create_app(config_file=None):
|
||||
app.config.from_object(get_config('dev'))
|
||||
|
||||
app.config['SESSION_KEY_PREFIX'] = 'eveai_app_'
|
||||
app.config['SECURITY_RESET_PASSWORD_FORM'] = ResetPasswordForm
|
||||
|
||||
try:
|
||||
os.makedirs(app.instance_path)
|
||||
|
||||
Reference in New Issue
Block a user