Skip to content

Commit 13d419d

Browse files
committed
Fixed #151
1 parent 8ca9e93 commit 13d419d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/send-reset-pwd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function sendResetPwd (options, identifyUser, notifierOptions, field) {
2727
resetShortToken: await getShortToken(options.shortTokenLen, options.shortTokenDigits)
2828
});
2929

30-
notifier(options.notifier, 'sendResetPwd', user2, notifierOptions);
30+
await notifier(options.notifier, 'sendResetPwd', user2, notifierOptions);
3131
const user3 = await usersService.patch(user2[usersServiceIdName], {
3232
resetExpires: user2.resetExpires,
3333
resetToken: await hashPassword(options.app, user2.resetToken, field),

0 commit comments

Comments
 (0)