mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
Fix login from localhost
Login from localhost/studio.localhost was broken on Ironwood because the session cookie was configured to be stored under the production domain name. We fix this by setting the SESSION_COOKIE_DOMAIN to None: in the edx-platform code, this corresponds to using the current request domain.
This commit is contained in:
parent
7c0f3f2d76
commit
e2b0f3bfde
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v3.3.3 (2019-03-27)
|
||||||
|
|
||||||
|
- [Bugfix] Fix login from localhost
|
||||||
|
|
||||||
## v3.3.2 (2019-03-27)
|
## v3.3.2 (2019-03-27)
|
||||||
|
|
||||||
- [Bugfix] Fix Android app image build
|
- [Bugfix] Fix Android app image build
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"EMAIL_PORT": {{ SMTP_PORT }},
|
"EMAIL_PORT": {{ SMTP_PORT }},
|
||||||
"HTTPS": "{{ "on" if ACTIVATE_HTTPS else "off" }}",
|
"HTTPS": "{{ "on" if ACTIVATE_HTTPS else "off" }}",
|
||||||
"LANGUAGE_CODE": "{{ LANGUAGE_CODE }}",
|
"LANGUAGE_CODE": "{{ LANGUAGE_CODE }}",
|
||||||
"SESSION_COOKIE_DOMAIN": ".{{ lms_cms_common_domain }}",
|
{% if ACTIVATE_HTTPS %}"SESSION_COOKIE_DOMAIN": ".{{ lms_cms_common_domain }}",{% endif %}
|
||||||
"CACHES": {
|
"CACHES": {
|
||||||
"default": {
|
"default": {
|
||||||
"KEY_PREFIX": "default",
|
"KEY_PREFIX": "default",
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
"LANGUAGE_CODE": "{{ LANGUAGE_CODE }}",
|
"LANGUAGE_CODE": "{{ LANGUAGE_CODE }}",
|
||||||
"LOGIN_REDIRECT_WHITELIST": ["{{ CMS_HOST }}", "studio.localhost"],
|
"LOGIN_REDIRECT_WHITELIST": ["{{ CMS_HOST }}", "studio.localhost"],
|
||||||
"SESSION_COOKIE_DOMAIN": ".{{ lms_cms_common_domain }}",
|
|
||||||
"CACHES": {
|
"CACHES": {
|
||||||
"default": {
|
"default": {
|
||||||
"KEY_PREFIX": "default",
|
"KEY_PREFIX": "default",
|
||||||
|
Loading…
Reference in New Issue
Block a user