aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-19 16:48:34 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-19 16:48:34 +0200
commit32f32e97b39a15a3e2075a8b85ecf97350185b12 (patch)
tree0091e98a67d811074a79b1b2523557c4484bf301 /pyaggr3g470r
parentUpdated error messages for authentication (diff)
downloadnewspipe-32f32e97b39a15a3e2075a8b85ecf97350185b12.tar.gz
newspipe-32f32e97b39a15a3e2075a8b85ecf97350185b12.tar.bz2
newspipe-32f32e97b39a15a3e2075a8b85ecf97350185b12.zip
Fixed bug.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 21ca153c..01d91fa5 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -89,7 +89,7 @@ def load_user(email):
# Custom error pages.
#
@app.errorhandler(401)
-def authentication_failed(e):
+def authentication_required(e):
flash('Authentication required.', 'info')
return redirect(url_for('login')), 401
bgstack15