diff --git a/services/web/app/src/Features/User/UserUpdater.js b/services/web/app/src/Features/User/UserUpdater.js index baf905a7e6..1bd4e056f7 100644 --- a/services/web/app/src/Features/User/UserUpdater.js +++ b/services/web/app/src/Features/User/UserUpdater.js @@ -128,8 +128,10 @@ async function clearSAMLData(userId, auditLog, sendEmail) { $unset: { samlIdentifiers: 1, 'emails.$[].samlProviderId': 1, + 'enrollment.sso': 1, }, } + await updateUser(userId, update) for (const emailData of user.emails) {