Add change password
This commit is contained in:
@@ -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: ")
|
||||
|
||||
Reference in New Issue
Block a user