mirror of
https://github.com/strapi/strapi.git
synced 2025-10-27 16:10:08 +00:00
Revert "fix defaultRole and comment"
This reverts commit f33ad9cc2966f3de465426c7be45d16aa874159b.
This commit is contained in:
parent
ae67e82f26
commit
88f99a54f7
@ -103,7 +103,7 @@ describeOnCondition(edition === 'EE')('SSO Provider Options', () => {
|
||||
])('can be %s', async (name, value) => {
|
||||
const newData = {
|
||||
ssoLockedRoles: value,
|
||||
defaultRole: localData.restrictedRole.id, // TODO: there seems to be a bug with not setting a default role
|
||||
defaultRole: 1, // TODO: there seems to be a bug with not setting a default role
|
||||
autoRegister: false,
|
||||
};
|
||||
const res = await requests.admin.put('/admin/providers/options', {
|
||||
@ -127,7 +127,7 @@ describeOnCondition(edition === 'EE')('SSO Provider Options', () => {
|
||||
const res = await requests.admin.put('/admin/providers/options', {
|
||||
body: {
|
||||
ssoLockedRoles: value,
|
||||
defaultRole: localData.restrictedRole.id, // TODO: there seems to be a bug with not setting a default role
|
||||
defaultRole: localData.restrictedRole.id,
|
||||
autoRegister: false,
|
||||
},
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user