mirror of
https://github.com/strapi/strapi.git
synced 2026-01-07 12:45:45 +00:00
remove comment
This commit is contained in:
parent
a06a9b8fe8
commit
2f1ac2777e
@ -15,7 +15,7 @@ const isSsoLocked = async (user) => {
|
||||
// check if any roles are locked
|
||||
const adminStore = await strapi.store({ type: 'core', name: 'admin' });
|
||||
const { providers } = await adminStore.get({ key: 'auth' });
|
||||
const lockedRoles = providers.ssoLockedRoles || []; // ssoLockedRoles
|
||||
const lockedRoles = providers.ssoLockedRoles || [];
|
||||
if (isEmpty(lockedRoles)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user