Incorporated review comments for #5705

This commit is contained in:
Pravesh Sharma
2023-02-01 14:24:49 +05:30
committed by GitHub
parent aa6c199e98
commit e247867abf
8 changed files with 19 additions and 7 deletions

View File

@@ -350,6 +350,7 @@ def create_app(app_name=None):
app.config['SECURITY_MSG_USER_DOES_NOT_EXIST'] = \
app.config['SECURITY_MSG_INVALID_PASSWORD'] = \
(gettext("Incorrect username or password."), "error")
app.config['SECURITY_PASSWORD_LENGTH_MIN'] = config.PASSWORD_LENGTH_MIN
# Create database connection object and mailer
db.init_app(app)