Add database functions
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user