From d3ca747f2f317a901d6e5856e97d90957ba785b9 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 15 Oct 2018 10:16:55 +0200 Subject: Updated some links --- src/web/views/api/v3/article.py | 2 +- src/web/views/api/v3/common.py | 2 +- src/web/views/api/v3/feed.py | 2 +- src/web/views/bookmark.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/web/views') diff --git a/src/web/views/api/v3/article.py b/src/web/views/api/v3/article.py index e2f10979..4cf35648 100644 --- a/src/web/views/api/v3/article.py +++ b/src/web/views/api/v3/article.py @@ -4,7 +4,7 @@ # Newspipe - A Web based news aggregator. # Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org # -# For more information : http://github.com/Newspipe/Newspipe +# For more information : http://gitlab.com/newspipe/newspipe # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/web/views/api/v3/common.py b/src/web/views/api/v3/common.py index f6899b75..d5e94a3f 100644 --- a/src/web/views/api/v3/common.py +++ b/src/web/views/api/v3/common.py @@ -4,7 +4,7 @@ # Newspipe - A Web based news aggregator. # Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org # -# For more information : http://github.com/Newspipe/Newspipe +# For more information : http://gitlab.com/newspipe/newspipe # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/web/views/api/v3/feed.py b/src/web/views/api/v3/feed.py index 64a03e84..2cbbafd9 100644 --- a/src/web/views/api/v3/feed.py +++ b/src/web/views/api/v3/feed.py @@ -4,7 +4,7 @@ # Newspipe - A Web based news aggregator. # Copyright (C) 2010-2018 Cédric Bonhomme - https://www.cedricbonhomme.org # -# For more information : http://github.com/Newspipe/Newspipe +# For more information : http://gitlab.com/newspipe/newspipe # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/web/views/bookmark.py b/src/web/views/bookmark.py index 966ca4b2..21d832d2 100644 --- a/src/web/views/bookmark.py +++ b/src/web/views/bookmark.py @@ -4,7 +4,7 @@ # Newspipe - A Web based news aggregator. # Copyright (C) 2010-2017 Cédric Bonhomme - https://www.cedricbonhomme.org # -# For more information : https://github.com/newspipe/newspipe +# For more information : https://gitlab.com/newspipe/newspipe # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as -- cgit From e5b8e9161f3d2552749fd19355b6a621cce441c6 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 24 Oct 2018 10:09:51 +0200 Subject: Fixed a bug when an administrator wanted to edit a user. --- src/web/views/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/views') diff --git a/src/web/views/admin.py b/src/web/views/admin.py index 07c4f974..2e97ff36 100644 --- a/src/web/views/admin.py +++ b/src/web/views/admin.py @@ -61,7 +61,7 @@ def process_user_form(user_id=None): # Edit a user user_contr.update({'id': user_id}, {'nickname': form.nickname.data, - 'password': form.password.data, + 'pwdhash': generate_password_hash(form.password.data), 'automatic_crawling': form.automatic_crawling.data}) user = user_contr.get(id=user_id) flash(gettext('User %(nick)s successfully updated', -- cgit