mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +00:00
Update comment on reset password
This commit is contained in:
parent
ad815eae20
commit
1c3e6a4664
@ -114,7 +114,7 @@ module.exports = {
|
||||
|
||||
user.password = await strapi.plugins['users-permissions'].services.user.hashPassword(params);
|
||||
|
||||
// Remove relations data to update user code.
|
||||
// Remove relations data to update user password.
|
||||
const data = _.omit(user, strapi.plugins['users-permissions'].models.user.associations.map(ast => ast.alias));
|
||||
|
||||
// Update the user.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user