Fixed typo in docs/ref/settings.txt.

This commit is contained in:
Mariusz Felisiak 2019-04-02 09:10:11 +02:00
parent 7cbcf2e2cb
commit 4cbe2b06ce
No known key found for this signature in database
GPG Key ID: 2EF56372BA48CD1B
1 changed files with 2 additions and 2 deletions

View File

@ -386,7 +386,7 @@ See :setting:`SESSION_COOKIE_SAMESITE` for details about ``SameSite``.
Default: ``False`` Default: ``False``
Whether to use a secure cookie for the CSRF cookie. If this is set to ``True``, Whether to use a secure cookie for the CSRF cookie. If this is set to ``True``,
the cookie will be marked as "secure," which means browsers may ensure that the the cookie will be marked as "secure", which means browsers may ensure that the
cookie is only sent with an HTTPS connection. cookie is only sent with an HTTPS connection.
.. setting:: CSRF_USE_SESSIONS .. setting:: CSRF_USE_SESSIONS
@ -3076,7 +3076,7 @@ Possible values for the setting are:
Default: ``False`` Default: ``False``
Whether to use a secure cookie for the session cookie. If this is set to Whether to use a secure cookie for the session cookie. If this is set to
``True``, the cookie will be marked as "secure," which means browsers may ``True``, the cookie will be marked as "secure", which means browsers may
ensure that the cookie is only sent under an HTTPS connection. ensure that the cookie is only sent under an HTTPS connection.
Leaving this setting off isn't a good idea because an attacker could capture an Leaving this setting off isn't a good idea because an attacker could capture an