Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if user log in flask

from flask_login import current_user

@app.route(...)
def your_route():
    return current_user.is_authenticated
 
PREVIOUS NEXT
Tagged: #check #user #log #flask
ADD COMMENT
Topic
Name
7+1 =