Add change password

This commit is contained in:
handi
2025-11-30 16:34:34 +01:00
parent 111d0d2756
commit 5277830c50
6 changed files with 143 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ from logging_config import setup_logging
import os
from contextlib import closing
import getpass
from auth_core import create_user
from auth import create_user
APP_ENV = os.environ.get("APP_ENV", "dev")
logger = setup_logging(APP_ENV)
@@ -98,6 +98,7 @@ def create_admin_user():
if admin_exists():
logger.info("Adminkonto existiert bereits! Kein initiales Konto angelegt.")
return
logger.info("Adminkonto wird angelegt ...")
pw1 = getpass.getpass("Passwort: ")