aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db_create.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/db_create.py b/db_create.py
index 5f2c1abc..f92108b6 100644
--- a/db_create.py
+++ b/db_create.py
@@ -69,7 +69,8 @@ role_user = Role(name="user")
user1 = User(nickname="admin",
email="root@pyAggr3g470r.localhost",
- pwdhash=generate_password_hash("password"))
+ pwdhash=generate_password_hash("password"),
+ activation_key="")
user1.roles.extend([role_admin, role_user])
db.session.add(user1)
bgstack15