Merge pull request #19453 from edx/arch/cleanup-login

Studio login/registration redirects to LMS
This commit is contained in:
Nimisha Asthagiri
2018-12-19 11:52:45 -05:00
committed by GitHub
27 changed files with 128 additions and 145 deletions

View File

@@ -21,7 +21,7 @@ SITE_NAME = 'localhost:8000'
CELERY_ALWAYS_EAGER = True
HTTPS = 'off'
LMS_ROOT_URL = 'http://localhost:8000'
LMS_ROOT_URL = "http://localhost:8000"
LMS_INTERNAL_ROOT_URL = LMS_ROOT_URL
ENTERPRISE_API_URL = LMS_INTERNAL_ROOT_URL + '/enterprise/api/v1/'
@@ -228,7 +228,7 @@ CORS_ALLOW_HEADERS = corsheaders_default_headers + (
'use-jwt-cookie',
)
LOGIN_REDIRECT_WHITELIST = []
LOGIN_REDIRECT_WHITELIST = [CMS_BASE]
###################### JWTs ######################
JWT_AUTH.update({