You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find a solution, so i thought that it is a bug.
According to information i found on the internet, login_required decorator redirects to login_view he found on blueprint folder, then in app folder, then returns 401 error if nothing is specified otherwise.
I expect login_message to work the same way, but i specifyed login_manager.login_message globally in my app, but when i am beeing redirected to login_view from blueprint route, there is no message at all.
I think it should display global login_manager.login_messge if there is nothing specifyed otherwise.
The text was updated successfully, but these errors were encountered:
vokiatik
changed the title
login_manager.login_message is not showing when redirecting to login_manager.login_view from blueprints
login_manager.login_message is not showing when redirecting to login_manager.login_view from blueprints routes
May 23, 2023
I couldn't find a solution, so i thought that it is a bug.
According to information i found on the internet, login_required decorator redirects to login_view he found on blueprint folder, then in app folder, then returns 401 error if nothing is specified otherwise.
I expect login_message to work the same way, but i specifyed login_manager.login_message globally in my app, but when i am beeing redirected to login_view from blueprint route, there is no message at all.
I think it should display global login_manager.login_messge if there is nothing specifyed otherwise.
The text was updated successfully, but these errors were encountered: