mirror of
https://github.com/strapi/strapi.git
synced 2025-07-14 04:21:56 +00:00
update ctx.request.body to be ctx.request.body.providers, to ensure only permissions are saved to database with no extra keys
This commit is contained in:
parent
12ee30ae92
commit
3ea2c2023f
@ -237,7 +237,7 @@ module.exports = {
|
||||
type: 'plugin',
|
||||
name: 'users-permissions',
|
||||
key: 'grant'
|
||||
}).set({value: ctx.request.body});
|
||||
}).set({value: ctx.request.body.providers});
|
||||
|
||||
ctx.send({ ok: true });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user