Skip to content
Snippets Groups Projects
Commit 445df4c1 authored by Martin Mareš's avatar Martin Mareš Committed by Jan Prachař
Browse files

Error handler nezapomíná vrátit 403

parent 8be21a64
No related branches found
No related tags found
No related merge requests found
......@@ -647,4 +647,4 @@ def confirm_reset():
@app.errorhandler(werkzeug.exceptions.Forbidden)
def handle_forbidden(e):
return render_template('forbidden.html')
return render_template('forbidden.html'), 403
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment