From f2160e237ffac3ad85fe5b5a7157ba06416f0df8 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 19 Apr 2014 16:50:53 +0200 Subject: Fixed bug. --- pyaggr3g470r/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r/views.py') diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 01d91fa5..d23a7693 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -91,7 +91,7 @@ def load_user(email): @app.errorhandler(401) def authentication_required(e): flash('Authentication required.', 'info') - return redirect(url_for('login')), 401 + return redirect(url_for('login')) @app.errorhandler(403) def authentication_failed(e): -- cgit