Do not allow a deactivated user to login via SSO. (#7240)

This commit is contained in:
Patrick Cloke 2020-04-09 13:28:13 -04:00 committed by GitHub
parent 967f99b9f8
commit b85d7652ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 110 additions and 10 deletions

View file

@ -154,7 +154,7 @@ class SamlHandler:
)
else:
self._auth_handler.complete_sso_login(user_id, request, relay_state)
await self._auth_handler.complete_sso_login(user_id, request, relay_state)
async def _map_saml_response_to_user(
self, resp_bytes: str, client_redirect_url: str