aboutsummaryrefslogtreecommitdiff
path: root/src/manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager.py')
-rwxr-xr-xsrc/manager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/manager.py b/src/manager.py
index 60e4c4f1..c088ac29 100755
--- a/src/manager.py
+++ b/src/manager.py
@@ -33,8 +33,7 @@ def db_create():
admin = {'is_admin': True, 'is_api': True, 'is_active': True,
'nickname': 'admin',
'pwdhash': generate_password_hash(
- os.environ.get("ADMIN_PASSWORD", "password")),
- 'email': os.environ.get("ADMIN_EMAIL", "root@newspipe.localhost")}
+ os.environ.get("ADMIN_PASSWORD", "password"))}
with application.app_context():
db.create_all()
UserController(ignore_context=True).create(**admin)
bgstack15