diff options
Diffstat (limited to 'app/views/auth.py')
-rw-r--r-- | app/views/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/auth.py b/app/views/auth.py index 1d1cafb..26b8d39 100644 --- a/app/views/auth.py +++ b/app/views/auth.py @@ -54,4 +54,4 @@ def logout(): @login_manager.unauthorized_handler def unauthorized(): - return render_template("message.html",message="You need to be logged in to access this resource", code=401) + return render_template("message.html",message="You need to be logged in to access this resource", code=401), 401 |