Skip to content
Snippets Groups Projects
Commit ee3f98ad authored by Martin Mareš's avatar Martin Mareš
Browse files

Error handler nezapomíná vrátit 403

parent 1270725a
Branches
No related tags found
No related merge requests found
...@@ -647,4 +647,4 @@ def confirm_reset(): ...@@ -647,4 +647,4 @@ def confirm_reset():
@app.errorhandler(werkzeug.exceptions.Forbidden) @app.errorhandler(werkzeug.exceptions.Forbidden)
def handle_forbidden(e): 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