Add database functions

This commit is contained in:
knedlik
2025-12-05 22:52:38 +01:00
parent 3c0e58dfc1
commit 96be7567eb
17 changed files with 111 additions and 15 deletions

View File

@@ -9,6 +9,7 @@ from auth import load_credentials_from_db, needs_password_change, update_passwor
def get_authenticator():
with open("config/auth.yaml", "r", encoding="utf-8") as f:
base_config = yaml.load(f, Loader=SafeLoader)
db_creds = load_credentials_from_db()
base_config["credentials"] = db_creds