How to Perform User Authentication with Flask-Login - SitePoint
Briefly

Flask-Login handles the creation and destruction of user sessions. It can also store the current user's ID in the session so that you can easily check if a user is logged in.
Flask-Login provides built-in login and logout functions. These functions take care of all the important processes, such as creating and destroying sessions and redirecting the user to the appropriate page.
Flask-Login makes it easy to implement authentication and authorization in your applications. You can use Flask-Login to protect specific pages or routes and to grant users different levels of access to your application.
Read at Sitepoint
[
add
]
[
|
|
]