diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-13 22:14:40 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-13 22:14:40 +0200 |
commit | f47c5091c4534e9e7301518b86b8f56b658aaf94 (patch) | |
tree | 37c318f3df5865b813ecf8f40afb75dcac87565b | |
parent | Updated translations. (diff) | |
download | newspipe-f47c5091c4534e9e7301518b86b8f56b658aaf94.tar.gz newspipe-f47c5091c4534e9e7301518b86b8f56b658aaf94.tar.bz2 newspipe-f47c5091c4534e9e7301518b86b8f56b658aaf94.zip |
Auto confirm admin account.
-rw-r--r-- | db_create.py | 3 |
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) |