diff --git a/app/services/user.js b/app/services/user.js index 5419a94..b5fbcad 100644 --- a/app/services/user.js +++ b/app/services/user.js @@ -541,7 +541,7 @@ class UserService extends SiteService { } if (settings.password) { - if (settings.password !== settings.password) { + if (settings.password !== settings.passwordv) { throw new SiteError(400, 'Password and password verification do not match.'); } update.$set.passwordSalt = uuidv4();