Check If User Log In Flask

[Solved] Check If User Log In Flask | Python Frameworks Flask - Code Explorer | www.yomemimo.com
Question : check if user log in flask

Answered by : shachar-markovich

from flask_login import current_user
@app.route(...)
def your_route(): return current_user.is_authenticated

Source : | Last Update : Tue, 03 Nov 20

Answers related to check if user log in flask

Code Explorer Popular Question For Python Frameworks Flask