mirror of
https://github.com/bitwarden/server.git
synced 2025-01-22 21:51:22 +01:00
Fix null error when provisioning new SSO user (#1578)
This commit is contained in:
parent
57dd6c7294
commit
4b346ff7ea
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user