Various password logic fixes on client and server-side

Fixes #6399
Fixes #6400
This commit is contained in:
Julian Lam
2018-03-26 12:55:15 -04:00
parent 5c8bf3ce95
commit 0158b1aa91
6 changed files with 18 additions and 7 deletions

View File

@@ -71,7 +71,7 @@ describe('User', function () {
it('should error with invalid password', function (done) {
User.create({ username: 'test', password: '1' }, function (err) {
assert.equal(err.message, '[[user:change_password_error_length]]');
assert.equal(err.message, '[[reset_password:password_too_short]]');
done();
});
});