]> git.aero2k.de Git - sirius.git/commit
Add optional local login
authorThorsten <mail@aero2k.de>
Fri, 6 Nov 2026 17:48:44 +0000 (18:48 +0100)
committerThorsten <mail@aero2k.de>
Fri, 6 Nov 2026 17:48:44 +0000 (18:48 +0100)
commitfb55fdbe7252f38db1baa924306c642940973fe9
treec1f8d16ecfe89631959e8602eb95b16d8d160760
parent0481aba5440613f79b64033de16f424ad99816d6
Add optional local login

Twitter is the only way to sign in, which makes the web UI unusable
without an X developer app. Setting LOCAL_LOGIN_USERNAME and
LOCAL_LOGIN_PASSWORD_HASH enables a single account at /login/local and
replaces the Twitter button on the landing page. Without them the route
returns 404.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
README.md
sirius/config.py
sirius/models/user.py
sirius/web/local_login.py [new file with mode: 0644]
sirius/web/templates/landing.html
sirius/web/templates/local_login.html [new file with mode: 0644]
sirius/web/test_local_login.py [new file with mode: 0644]
sirius/web/webapp.py