Question: decorator to check login? #78
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, And what you are asking for is outside the scope of Flask-Multipass. You may want to look into something like Flask-Login for this purpose. You'd then mark the user as logged-in there when you get the callback from Flask-Multipass. |
Beta Was this translation helpful? Give feedback.
No,
login_check
is meant as a way for your app to tell multipass that the user is already logged in and thus should not go through the login process again.And what you are asking for is outside the scope of Flask-Multipass. You may want to look into something like Flask-Login for this purpose. You'd then mark the user as logged-in there when you get the callback from Flask-Multipass.