Skip to content

Commit

Permalink
Fixed typo in docs about CSRFError (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgraupner authored and davidism committed Jan 7, 2017
1 parent 5c11354 commit d02eb86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/csrf.rst
Expand Up @@ -84,7 +84,7 @@ You can customize the error response using Flask's

from flask_wtf.csrf import CSRFError

@app.errorhandler(CsrfError)
@app.errorhandler(CSRFError)
def handle_csrf_error(e):
return render_template('csrf_error.html', reason=e.description), 400

Expand Down

0 comments on commit d02eb86

Please sign in to comment.