Fixed bug with password form

This commit is contained in:
Wyatt Johnson
2018-05-07 17:47:02 -06:00
parent 926364ad72
commit 10a99aab88
4 changed files with 18 additions and 5 deletions
+9
View File
@@ -371,6 +371,14 @@ class ErrParentDoesNotVisible extends TalkError {
}
}
class ErrPasswordIncorrect extends TalkError {
constructor() {
super('Your current password was entered incorrectly', {
translation_key: 'PASSWORD_INCORRECT',
});
}
}
module.exports = {
TalkError,
ErrAlreadyExists,
@@ -395,6 +403,7 @@ module.exports = {
ErrNotFound,
ErrNotVerified,
ErrParentDoesNotVisible,
ErrPasswordIncorrect,
ErrPasswordResetToken,
ErrPasswordTooShort,
ErrPermissionUpdateUsername,