Skip to content

flask-extensions/Flask-SimpleLogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 30, 2024
7cd9008 · Oct 30, 2024
May 4, 2023
Oct 11, 2024
Aug 25, 2021
Oct 10, 2024
Oct 10, 2024
Sep 6, 2017
Oct 10, 2024
Aug 25, 2021
Aug 23, 2017
May 5, 2023
Aug 26, 2017
Oct 10, 2024
Oct 30, 2024

Repository files navigation

GitHub Actions PyPI PyPI versions PyPI formats Flask Documentation

Login Extension for Flask

The simplest way to add login to flask!

How it works

First, install it from PyPI:

$ pip install flask_simplelogin

Then, use it in your app:

from flask import Flask
from flask_simplelogin import SimpleLogin

app = Flask(__name__)
SimpleLogin(app)

That's it!

Now you have /login and /logout routes in your application.

The username defaults to admin and the password defaults to secret — yeah that's not clever, check the docs to see how to configure it properly!

Login Screen

Check the documentation for more details!