From f47c5091c4534e9e7301518b86b8f56b658aaf94 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 13 May 2014 22:14:40 +0200 Subject: Auto confirm admin account. --- db_create.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit