Flask-Web-App-Tutorial icon indicating copy to clipboard operation
Flask-Web-App-Tutorial copied to clipboard

Alert message in home page

Open BFWheels opened this issue 1 year ago • 1 comments

Hi there, So as I'm following the video as typing the code i got into the login_requried mode in views.py. As i put the @login_required in views.route as Tim showed, and in the others routes, as put the user= current user as well, when i go to the site it appears the alert message that i need to login to access the page

image

When I refresh the page the alert disappears but it shoulndt be there in the first place.

BFWheels avatar Jan 04 '24 19:01 BFWheels

Facing same issue

Dheerajauthor avatar Mar 29 '24 14:03 Dheerajauthor