diff --git a/bitwarden_license/src/Sso/Controllers/AccountController.cs b/bitwarden_license/src/Sso/Controllers/AccountController.cs index 0a5ac54bd6..6a8a545069 100644 --- a/bitwarden_license/src/Sso/Controllers/AccountController.cs +++ b/bitwarden_license/src/Sso/Controllers/AccountController.cs @@ -446,8 +446,8 @@ namespace Bit.Sso.Controllers // All Existing User flows handled below if (existingUser != null) { - if (existingUser.UsesKeyConnector && orgUser == null || - orgUser?.Status == OrganizationUserStatusType.Invited) + if (existingUser.UsesKeyConnector && + (orgUser == null || orgUser.Status == OrganizationUserStatusType.Invited)) { throw new Exception(_i18nService.T("UserAlreadyExistsKeyConnector")); }