mirror of
https://github.com/strapi/strapi.git
synced 2025-10-29 17:04:13 +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) => {
|
])('can be %s', async (name, value) => {
|
||||||
const newData = {
|
const newData = {
|
||||||
ssoLockedRoles: value,
|
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,
|
autoRegister: false,
|
||||||
};
|
};
|
||||||
const res = await requests.admin.put('/admin/providers/options', {
|
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', {
|
const res = await requests.admin.put('/admin/providers/options', {
|
||||||
body: {
|
body: {
|
||||||
ssoLockedRoles: value,
|
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,
|
autoRegister: false,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user