Skip to content

Commit

Permalink
Merge pull request mdn#1033 from berkerpeksag/csrf-doc
Browse files Browse the repository at this point in the history
Add a note to the installation documentation about the CSRF_COOKIE_SECURE setting.
  • Loading branch information
ubernostrum committed Apr 22, 2013
2 parents 1e5a227 + f9368b6 commit b81ca10
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,15 @@ development instance::
The ``SESSION_EXPIRE_AT_BROWSER_CLOSE`` setting is not strictly necessary, but
it's convenient for development.

Secure Cookies
--------------

To prevent error messages like ``Forbidden (CSRF cookie not set.):``, you need to
set your ``settings_local.py`` with the following::

CSRF_COOKIE_SECURE = False


Testing it Out
==============

Expand Down

0 comments on commit b81ca10

Please sign in to comment.