mirror of
https://github.com/strapi/strapi.git
synced 2025-09-02 05:13:03 +00:00
Merge pull request #6124 from frosato-dev/master
Prevent user registration with confirmed status
This commit is contained in:
commit
9f5844949d
@ -390,7 +390,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
const params = {
|
||||
..._.pick(ctx.request.body, ['username', 'email', 'password']),
|
||||
..._.omit(ctx.request.body, ['confirmed', 'resetPasswordToken']),
|
||||
provider: 'local',
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user