From a1a54b00d289579af9ff50dee46db12bae775f01 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 16 Oct 2014 19:41:15 -0400 Subject: [PATCH] [1.7.x] Fixed #23667 -- Incorrect settings reference for language cookie. Thanks jamesbeith for the report. Backport of bedd439297 from master --- docs/ref/settings.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 7313f9db7b..8b0a3aebda 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1575,7 +1575,7 @@ standard domain cookies, existing user cookies that have the old domain will not be updated. This will result in site users being unable to switch the language as long as these cookies persist. The only safe and reliable option to perform the switch is to change the language cookie name -permanently (via the :setting:`SESSION_COOKIE_NAME` setting) and to add +permanently (via the :setting:`LANGUAGE_COOKIE_NAME` setting) and to add a middleware that copies the value from the old cookie to a new one and then deletes the old one. @@ -1611,7 +1611,7 @@ setting to use a deeper path than it previously used, existing user cookies that have the old path will not be updated. This will result in site users being unable to switch the language as long as these cookies persist. The only safe and reliable option to perform the switch is to change the language cookie name -permanently (via the :setting:`SESSION_COOKIE_NAME` setting), and to add +permanently (via the :setting:`LANGUAGE_COOKIE_NAME` setting), and to add a middleware that copies the value from the old cookie to a new one and then deletes the one.