From 000e240bcf40dc92fc964633fb52aaecea914201 Mon Sep 17 00:00:00 2001 From: CyberShell Date: Tue, 26 Jul 2022 18:26:42 +0000 Subject: [PATCH] Reverse change in #9 --- 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 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();