diff --git a/cms/envs/common.py b/cms/envs/common.py index cd622cceb0..9b19779601 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -2156,16 +2156,3 @@ DISABLE_DEPRECATED_SIGNIN_URL = False # .. toggle_tickets: ARCH-1253 # .. toggle_status: supported DISABLE_DEPRECATED_SIGNUP_URL = False - -# .. toggle_name: DISABLE_DEPRECATED_LOGIN_POST -# .. toggle_implementation: DjangoSetting -# .. toggle_default: False -# .. toggle_description: Toggle for removing the deprecated /login_post url. -# .. toggle_category: n/a -# .. toggle_use_cases: incremental_release -# .. toggle_creation_date: 2019-12-02 -# .. toggle_expiration_date: 2020-06-01 -# .. toggle_warnings: This url can be removed once it no longer has any real traffic. Note: We have permission to remove for traffic from user_agent including `mitx-quantum`. -# .. toggle_tickets: ARCH-1253 -# .. toggle_status: supported -DISABLE_DEPRECATED_LOGIN_POST = False diff --git a/openedx/core/djangoapps/user_authn/urls_common.py b/openedx/core/djangoapps/user_authn/urls_common.py index 352fb799ce..81e424338e 100644 --- a/openedx/core/djangoapps/user_authn/urls_common.py +++ b/openedx/core/djangoapps/user_authn/urls_common.py @@ -62,13 +62,6 @@ urlpatterns = [ ] -if not getattr(settings, 'DISABLE_DEPRECATED_LOGIN_POST', False): - # TODO: Remove login_post once it no longer has real traffic. - # It was only used by old Studio sign-in and some miscellaneous callers, which should no longer be in use. - urlpatterns += [ - url(r'^login_post$', login.login_user, name='login_post'), - ] - # password reset django views (see above for password reset views) urlpatterns += [ url(