[web] Clear group SSO via Overleaf admin "Clear all SAML data" button GitOrigin-RevId: e5db107da533679d51d4f05db4e65c3ab51ed1ad
@@ -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) {