diff --git a/back/methods/account/change-password.js b/back/methods/account/change-password.js index 25b63b9a8..abe97a57e 100644 --- a/back/methods/account/change-password.js +++ b/back/methods/account/change-password.js @@ -29,6 +29,8 @@ module.exports = Self => { Self.changePassword = async function(id, oldPassword, newPassword) { await Self.rawSql(`CALL account.user_changePassword(?, ?, ?)`, [id, oldPassword, newPassword]); - await Self.app.models.UserAccount.syncById(id, newPassword); + // await Self.app.models.UserAccount.syncById(id, newPassword); + + return true; }; };