Skip to content
Snippets Groups Projects
Commit 4b9dcc3a authored by Jan Mach's avatar Jan Mach
Browse files

Changed class of flash messages produced by flask_login to 'info'.

(Redmine issue: #3734)
parent 32777627
No related branches found
No related tags found
No related merge requests found
......@@ -218,6 +218,7 @@ def _setup_app_auth(app):
lim = flask_login.LoginManager()
lim.init_app(app)
lim.login_view = app.config['HAWAT_LOGIN_VIEW']
lim.login_message_category = 'info'
@lim.user_loader
def load_user(user_id):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment