chore: moved user_authn all urls in urls.py (#34396)
This commit is contained in:
committed by
GitHub
parent
b0e3136d77
commit
fc63719ceb
@@ -46,7 +46,7 @@ def redirect_to_lms_login_for_admin(request):
|
||||
"""
|
||||
This view redirect the admin/login url to the site's login page.
|
||||
"""
|
||||
return redirect('/login?next=/admin')
|
||||
return redirect('/login/?next=/admin')
|
||||
|
||||
|
||||
def _build_next_param(request):
|
||||
|
||||
@@ -49,7 +49,7 @@ LIBRARY_KEY_PATTERN = r'(?P<library_key_string>library-v1:[^/+]+\+[^/+]+)'
|
||||
# oauth2_urlpatterns needs to be first to override any other login and
|
||||
# logout related views.
|
||||
urlpatterns = oauth2_urlpatterns + [
|
||||
path('', include('openedx.core.djangoapps.user_authn.urls_common')),
|
||||
path('', include('openedx.core.djangoapps.user_authn.urls')),
|
||||
path('', include('common.djangoapps.student.urls')),
|
||||
path('transcripts/upload', contentstore_views.upload_transcripts, name='upload_transcripts'),
|
||||
path('transcripts/download', contentstore_views.download_transcripts, name='download_transcripts'),
|
||||
|
||||
Reference in New Issue
Block a user