aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-15 22:42:39 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-15 22:42:39 +0200
commitd337ac75295bbd70524ec7004db17426548db5ef (patch)
tree73dba241d6c15e80229dc369d4150ee2fae697ba /pyaggr3g470r/views.py
parentoops. (diff)
downloadnewspipe-d337ac75295bbd70524ec7004db17426548db5ef.tar.gz
newspipe-d337ac75295bbd70524ec7004db17426548db5ef.tar.bz2
newspipe-d337ac75295bbd70524ec7004db17426548db5ef.zip
Ouf.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 0d85aeb7..8d214144 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -714,7 +714,6 @@ def create_user(user_id=None):
form.populate_obj(user)
if form.password.data != "":
user.set_password(form.password.data)
- user.roles = [role_user]
db.session.commit()
flash(gettext('User') + ' ' + user.nickname + ' ' + gettext('successfully updated.'), 'success')
else:
bgstack15