Answers for "How To Check User Is Logged In Or Not In flask by IF"

2

check if user log in flask

from flask_login import current_user

@app.route(...)
def your_route():
    return current_user.is_authenticated
Posted by: Guest on October-27-2020

Code answers related to "How To Check User Is Logged In Or Not In flask by IF"

Python Answers by Framework

Browse Popular Code Answers by Language