fix: change studio url in IDA_LOGOUT_URI_LIST

fix: remove FRONTEND_LOGOUT_URL to use the default

docs: update CHANGELOG
This commit is contained in:
Alejandro Cardenas 2022-06-03 15:15:51 -05:00 committed by Régis Behmo
parent 322a9e6b48
commit f6b7826520
4 changed files with 4 additions and 3 deletions

View File

@ -18,6 +18,8 @@ Every user-facing change should have an entry in this changelog. Please respect
## Unreleased
- [Fix] Fix studio logout issue. (by @Alec4r) [PR #680](https://github.com/overhangio/tutor/pull/680)
## v13.3.0 (2022-06-03)
- [Security] Apply logout redirect url security fix. (by @regisb)

View File

@ -22,7 +22,7 @@ CSRF_COOKIE_SECURE = False
SESSION_COOKIE_SAMESITE = "Lax"
# CMS authentication
IDA_LOGOUT_URI_LIST.append("http://{{ CMS_HOST }}:8001/complete/logout")
IDA_LOGOUT_URI_LIST.append("http://{{ CMS_HOST }}:8001/logout/")
FEATURES['ENABLE_COURSEWARE_MICROFRONTEND'] = False

View File

@ -24,7 +24,7 @@ SESSION_COOKIE_SAMESITE = "Lax"
{% endif %}
# CMS authentication
IDA_LOGOUT_URI_LIST.append("{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ CMS_HOST }}/complete/logout")
IDA_LOGOUT_URI_LIST.append("{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ CMS_HOST }}/logout/")
# Required to display all courses on start page
SEARCH_SKIP_ENROLLMENT_START_DATE_FILTERING = True

View File

@ -13,7 +13,6 @@ SESSION_COOKIE_NAME = "studio_session_id"
MAX_ASSET_UPLOAD_FILE_SIZE_IN_MB = 100
FRONTEND_LOGIN_URL = LMS_ROOT_URL + '/login'
FRONTEND_LOGOUT_URL = LMS_ROOT_URL + '/logout'
FRONTEND_REGISTER_URL = LMS_ROOT_URL + '/register'
# Create folders if necessary