From 32f32e97b39a15a3e2075a8b85ecf97350185b12 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 19 Apr 2014 16:48:34 +0200 Subject: Fixed bug. --- pyaggr3g470r/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r') 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 -- cgit