fix: Hide unlinking SSO when OIDC is enforced
This commit is contained in:
@@ -70,6 +70,10 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
if (sails.config.custom.oidcEnforced) {
|
||||
lockedFieldNames.push('isSsoUser');
|
||||
}
|
||||
|
||||
Object.assign(data, {
|
||||
isDefaultAdmin,
|
||||
lockedFieldNames,
|
||||
|
||||
Reference in New Issue
Block a user