Simple Login - Login Extension for Flask - maintainer @cuducos
The simplest way to add login to flask!
Add yourself, send a PR!
First install it from PyPI.
pip install flask_simplelogin
from flask import Flask from flask_simplelogin import SimpleLoginapp = Flask(name) SimpleLogin(app)
Now you have
/loginand
/logoutroutes in your application.
The username defaults to
adminand the password defaults to
secret(yeah that's not clever, let's see how to change it)
Check the documentation for more details!