Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

SanderWegter/Flask-Simpleauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask-Simpleauth

Simple mysql authentication with flask

Installation

Install requirements

apt install python-flask python-mysqldb python-bcrypt

Load database

mysql -u USERNAME -p DATABASENAME < db.sql

example:
mysql -u root -p flask < db.sql

Config

Edit the config file and save it as 'config.conf'

Run application

python app.py

Default username/password is admin/admin

ToDo

  • Add more security
  • Add editable passwords for the user / admin

Releases

No releases published

Packages

No packages published