diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-19 16:48:34 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-19 16:48:34 +0200 |
commit | 32f32e97b39a15a3e2075a8b85ecf97350185b12 (patch) | |
tree | 0091e98a67d811074a79b1b2523557c4484bf301 /pyaggr3g470r | |
parent | Updated error messages for authentication (diff) | |
download | newspipe-32f32e97b39a15a3e2075a8b85ecf97350185b12.tar.gz newspipe-32f32e97b39a15a3e2075a8b85ecf97350185b12.tar.bz2 newspipe-32f32e97b39a15a3e2075a8b85ecf97350185b12.zip |
Fixed bug.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/views.py | 2 |
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 |