Skip to content

Commit

Permalink
[1.9.x] Refs #26628 -- Documented CSRF failure logging.
Browse files Browse the repository at this point in the history
Backport of ff9198e from master
  • Loading branch information
Hwesta authored and timgraham committed Jun 3, 2016
1 parent 9d52cdf commit cbc8ef6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/ref/csrf.txt
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ The error page, however, is not very friendly, so you may want to provide your
own view for handling this condition. To do this, simply set the
:setting:`CSRF_FAILURE_VIEW` setting.

CSRF failures are logged as warnings to the :ref:`django-request-logger`
logger.

.. _how-csrf-works:

How it works
Expand Down

0 comments on commit cbc8ef6

Please sign in to comment.