feat: Remove OIDC and SSO support

Existing SSO accounts have no local password, so the migration
deactivates them before dropping is_sso_user and the
identity_provider_user table.
This commit is contained in:
Daniel Hiller
2026-08-07 19:15:43 +02:00
parent a1f0a2b3fa
commit 36aa732fec
128 changed files with 121 additions and 1993 deletions
+1 -5
View File
@@ -134,11 +134,7 @@ module.exports = {
throw Errors.USER_NOT_FOUND;
}
if (
user.email === sails.config.custom.defaultAdminEmail ||
user.isSsoUser ||
sails.config.custom.demoMode
) {
if (user.email === sails.config.custom.defaultAdminEmail || sails.config.custom.demoMode) {
throw Errors.NOT_ENOUGH_RIGHTS;
}