1
0
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:
Thomas Rittson
2021-09-10 23:25:08 +10:00
committed by GitHub
parent 57dd6c7294
commit 4b346ff7ea

View File

@ -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);