Fix (again) login from studio when https is activated

Login from studio with https was broken by the fix for localhost login.

Close #193.
This commit is contained in:
Régis Behmo 2019-04-09 11:11:32 -07:00
parent 7a8ecbabec
commit 6c13710c79
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## Latest
- [Bugfix] Fix (again) login from studio when https is activated (#193)
## v3.3.3 (2019-03-29)
- [Bugfix] Fix `pip install tutor-openedx`

View File

@ -44,6 +44,7 @@
{% endif %}
"LANGUAGE_CODE": "{{ LANGUAGE_CODE }}",
"LOGIN_REDIRECT_WHITELIST": ["{{ CMS_HOST }}", "studio.localhost"],
{% if ACTIVATE_HTTPS %}"SESSION_COOKIE_DOMAIN": ".{{ lms_cms_common_domain }}",{% endif %}
"CACHES": {
"default": {
"KEY_PREFIX": "default",