mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
Fix null error in SSO existing user flow (#1773)
This commit is contained in:
@ -447,7 +447,7 @@ namespace Bit.Sso.Controllers
|
||||
if (existingUser != null)
|
||||
{
|
||||
if (existingUser.UsesKeyConnector && orgUser == null ||
|
||||
orgUser.Status == OrganizationUserStatusType.Invited)
|
||||
orgUser?.Status == OrganizationUserStatusType.Invited)
|
||||
{
|
||||
throw new Exception(_i18nService.T("UserAlreadyExistsKeyConnector"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user