feat: implemented account system

This commit is contained in:
2026-03-09 22:34:27 +01:00
parent 0579c24d9c
commit dd0d0cfde6
8 changed files with 1152 additions and 192 deletions

View File

@@ -1,5 +1,10 @@
# Set a password to protect the app. Leave empty to disable auth.
PASSWORD=
# Admin account seeded on first run (if no users exist yet).
ADMIN_USERNAME=admin
ADMIN_PASSWORD=changeme
# Secret key for Flask sessions. Set a fixed value so sessions survive restarts.
# Generate one with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=
# Host port to expose the app on.
PORT=5000