aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 10:08:16 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 10:08:16 +0200
commit70df563a624beffebb379cebb47dd3f7b4eb80a7 (patch)
tree12b6a8945753718d3303369694bfa16ba7fc114e /src
parentBug fix. (diff)
downloadnewspipe-70df563a624beffebb379cebb47dd3f7b4eb80a7.tar.gz
newspipe-70df563a624beffebb379cebb47dd3f7b4eb80a7.tar.bz2
newspipe-70df563a624beffebb379cebb47dd3f7b4eb80a7.zip
Bug fix.
Diffstat (limited to 'src')
-rw-r--r--src/web/views/session_mgmt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/session_mgmt.py b/src/web/views/session_mgmt.py
index 65be856c..06d31ed2 100644
--- a/src/web/views/session_mgmt.py
+++ b/src/web/views/session_mgmt.py
@@ -84,7 +84,7 @@ def signup():
form = SignupForm()
if form.validate_on_submit():
- user = UserController().create(login=form.login.data,
+ user = UserController().create(nickname=form.nickname.data,
email=form.email.data, password=form.password.data)
login_user_bundle(user)
return redirect(url_for('home'))
bgstack15