diff options
| author | Tim Graham <timograham@gmail.com> | 2016-07-14 08:02:11 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-07-14 08:04:57 -0400 |
| commit | 5316ae7d4f03ceed268422cc9adcedbba0d6d7f4 (patch) | |
| tree | b94e26a5b0652f174ffce28ed0c5502678458f12 | |
| parent | 678d9f524184e9c58c51603d7bc8704bfbb8f5a4 (diff) | |
[1.9.x] Fixed #26894 -- Fixed a typo in docs/faq/admin.txt
Backport of a11719047711d8031dcea6a71cc5972b9ec1d48f from master
| -rw-r--r-- | docs/faq/admin.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/faq/admin.txt b/docs/faq/admin.txt index a1d42099f9..26ad08374f 100644 --- a/docs/faq/admin.txt +++ b/docs/faq/admin.txt @@ -6,13 +6,10 @@ I can't log in. When I enter a valid username and password, it just brings up th =========================================================================================================================== The login cookie isn't being set correctly, because the domain of the cookie -sent out by Django doesn't match the domain in your browser. Try these two -things: - -* Set the :setting:`SESSION_COOKIE_DOMAIN` setting in your admin config - file to match your domain. For example, if you're going to - "https://www.example.com/admin/" in your browser, in "myproject.settings" you - should set :setting:`SESSION_COOKIE_DOMAIN` = 'www.example.com'. +sent out by Django doesn't match the domain in your browser. Try setting the +:setting:`SESSION_COOKIE_DOMAIN` setting to match your domain. For example, if +you're going to "https://www.example.com/admin/" in your browser, set +``SESSION_COOKIE_DOMAIN = 'www.example.com'``. I can't log in. When I enter a valid username and password, it brings up the login page again, with a "Please enter a correct username and password" error. =========================================================================================================================================================== |
