aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
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