mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00: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