We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e551a commit f075487Copy full SHA for f075487
lib/index.js
@@ -494,8 +494,7 @@ class ErrsoleSequelize extends EventEmitter {
494
495
const hashedPassword = await bcrypt.hash(newPassword, 10);
496
const [updateCount] = await this.errsoleUsers.update({ hashedPassword }, {
497
- where: { email },
498
- raw: true
+ where: { email }
499
});
500
if (updateCount === 0) {
501
throw new Error('Password update failed.');
0 commit comments