mirror of
https://github.com/wassname/flask-security.git
synced 2026-06-27 16:10:11 +08:00
Fix flask-login test setting
This commit is contained in:
@@ -16,6 +16,7 @@ def create_app(config):
|
||||
app.debug = True
|
||||
app.config['SECRET_KEY'] = 'secret'
|
||||
app.config['TESTING'] = True
|
||||
app.config['LOGIN_DISABLED'] = False
|
||||
|
||||
for key, value in config.items():
|
||||
app.config[key] = value
|
||||
|
||||
Reference in New Issue
Block a user