diff --git a/common/djangoapps/third_party_auth/pipeline.py b/common/djangoapps/third_party_auth/pipeline.py index 429e72e684de..e5725eed19e4 100644 --- a/common/djangoapps/third_party_auth/pipeline.py +++ b/common/djangoapps/third_party_auth/pipeline.py @@ -672,10 +672,6 @@ def set_logged_in_cookies(backend=None, user=None, strategy=None, auth_entry=Non """ if not is_api(auth_entry) and user is not None and user.is_authenticated: request = strategy.request if strategy else None - if not user.has_usable_password(): - msg = "Your account is disabled" - logout(request) - return JsonResponse(msg, status=403) # n.b. for new users, user.is_active may be False at this point; set the cookie anyways. if request is not None: # Check that the cookie isn't already set.