aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/admin.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-04-04 23:24:54 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2018-04-04 23:24:54 +0200
commitef09843b60ee565d270cf9575a9cfb420dcf2a0f (patch)
tree22fc76776fa0e8ccf407e289a176268123ba294d /src/web/views/admin.py
parentTypo. (diff)
downloadnewspipe-ef09843b60ee565d270cf9575a9cfb420dcf2a0f.tar.gz
newspipe-ef09843b60ee565d270cf9575a9cfb420dcf2a0f.tar.bz2
newspipe-ef09843b60ee565d270cf9575a9cfb420dcf2a0f.zip
Removed email field.
Diffstat (limited to 'src/web/views/admin.py')
-rw-r--r--src/web/views/admin.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/web/views/admin.py b/src/web/views/admin.py
index c9aa0977..07c4f974 100644
--- a/src/web/views/admin.py
+++ b/src/web/views/admin.py
@@ -61,7 +61,6 @@ def process_user_form(user_id=None):
# Edit a user
user_contr.update({'id': user_id},
{'nickname': form.nickname.data,
- 'email': form.email.data,
'password': form.password.data,
'automatic_crawling': form.automatic_crawling.data})
user = user_contr.get(id=user_id)
@@ -70,7 +69,6 @@ def process_user_form(user_id=None):
else:
# Create a new user (by the admin)
user = user_contr.create(nickname=form.nickname.data,
- email=form.email.data,
pwdhash=generate_password_hash(form.password.data),
automatic_crawling=form.automatic_crawling.data,
is_admin=False,
bgstack15