From 43e4c510ad6dd63e9c57205ad1efaca2a36d53b7 Mon Sep 17 00:00:00 2001 From: CyberShell Date: Thu, 14 Jul 2022 13:24:00 +0000 Subject: [PATCH] fix spelling in user service --- app/services/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/user.js b/app/services/user.js index 1d4ef2f..5c33d3c 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.passwordv) { + if (settings.password !== settings.password) { throw new SiteError(400, 'Password and password verification do not match.'); } update.$set.passwordSalt = uuidv4();