Merge pull request #22523 from edx/robrap/ARCH-1253-remove-DISABLE_DEPRECATED_LOGIN_POST

ARCH-1253: remove unused /login_post endpoint
This commit is contained in:
Robert Raposa
2019-12-13 15:20:34 -05:00
committed by GitHub
2 changed files with 0 additions and 20 deletions

View File

@@ -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

View File

@@ -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(