Skip to content

Question: decorator to check login? #78

Answered by ThiefMaster
do9xe asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by do9xe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #77 on February 08, 2024 15:50.