aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-06 11:09:21 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-06 11:09:21 +0200
commitc8122e1981527a716639561cc3f880764f06387b (patch)
tree56c58229ba294f89870b027dc18585cc19d2dc54 /src/web/views
parentImproved layout of the profile page. (diff)
downloadnewspipe-c8122e1981527a716639561cc3f880764f06387b.tar.gz
newspipe-c8122e1981527a716639561cc3f880764f06387b.tar.bz2
newspipe-c8122e1981527a716639561cc3f880764f06387b.zip
The user can now add its twitter page.
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/user.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/views/user.py b/src/web/views/user.py
index b877f9c7..bf568d69 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -108,7 +108,8 @@ def profile():
'email': form.email.data,
'password': form.password.data,
'is_public_profile': form.is_public_profile.data,
- 'webpage': form.webpage.data})
+ 'webpage': form.webpage.data,
+ 'twitter': form.twitter.data})
flash(gettext('User %(nick)s successfully updated',
nick=user.nickname), 'success')
bgstack15