https://github.com/matheusfillipe/flask_login
flask_login demo that stores user credentials on the filesystem
https://github.com/matheusfillipe/flask_login
files filesystem flask flask-login hashedpassword python user
Last synced: about 1 month ago
JSON representation
flask_login demo that stores user credentials on the filesystem
- Host: GitHub
- URL: https://github.com/matheusfillipe/flask_login
- Owner: matheusfillipe
- Created: 2021-09-19T06:48:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-26T03:36:31.000Z (over 4 years ago)
- Last Synced: 2025-12-30T16:02:59.077Z (5 months ago)
- Topics: files, filesystem, flask, flask-login, hashedpassword, python, user
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flaks login demo
My simple demo of how to use [flask_login](https://flask-login.readthedocs.io/en/latest/) module without the need of a database or anything fancy. I also tried to implement an ip based limiter on the `login` route to try to avoid bruteforce based attacks.
## Usage
``` sh
# install dependencies
pip install flask flask-login Flask-Limiter
# Add users
./users.py
# run
flask run
# or
python3 main.py
```
The users folder will be created where each user get his file on the format: `{username}.hash` which containing his hashed password.