aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
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):
bgstack15