fix: remove language_session_key usage

This commit is contained in:
UsamaSadiq
2023-06-26 19:55:47 +05:00
committed by Soban Javed
parent b9134c64ff
commit e332a5660e
9 changed files with 46 additions and 161 deletions

View File

@@ -76,8 +76,8 @@ urlpatterns = oauth2_urlpatterns + [
path('api/user/', include('openedx.core.djangoapps.user_api.urls')),
# Update session view
path('lang_pref/session_language', openedx.core.djangoapps.lang_pref.views.update_session_language,
name='session_language'
path('lang_pref/cookie_language', openedx.core.djangoapps.lang_pref.views.update_cookie_language,
name='cookie_language'
),
# Darklang View to change the preview language (or dark language)