aboutsummaryrefslogtreecommitdiff
path: root/db_create.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-05 14:09:50 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-05 14:09:50 +0200
commit99c3bed49f6ee0124be79de66a91daaa5f56f735 (patch)
tree26203e9517d8a38241f2b6bc454fc27d9b499b81 /db_create.py
parentImproved forms validation. (diff)
downloadnewspipe-99c3bed49f6ee0124be79de66a91daaa5f56f735.tar.gz
newspipe-99c3bed49f6ee0124be79de66a91daaa5f56f735.tar.bz2
newspipe-99c3bed49f6ee0124be79de66a91daaa5f56f735.zip
Improved make_valid_nickname function.
Diffstat (limited to 'db_create.py')
-rw-r--r--db_create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/db_create.py b/db_create.py
index f2eec828..7cdd6411 100644
--- a/db_create.py
+++ b/db_create.py
@@ -69,7 +69,7 @@ role_user = Role(name="user")
user1 = User(firstname="admin", lastname="admin",
email="root@pyAggr3g470r.localhost",
- pwdhash=generate_password_hash("root"))
+ pwdhash=generate_password_hash("root_password"))
user1.roles.extend([role_admin, role_user])
db.session.add(user1)
bgstack15