mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05:00
Fix null error when provisioning new SSO user (#1578)
This commit is contained in:
@ -520,7 +520,7 @@ namespace Bit.Sso.Controllers
|
||||
}
|
||||
|
||||
// Delete any stale user record to be safe
|
||||
await DeleteExistingSsoUserRecord(existingUser.Id, orgId, orgUser);
|
||||
await DeleteExistingSsoUserRecord(user.Id, orgId, orgUser);
|
||||
|
||||
// Create sso user record
|
||||
await CreateSsoUserRecord(providerUserId, user.Id, orgId);
|
||||
|
Reference in New Issue
Block a user