Reverse change in #9

master
CyberShell 2 years ago
parent a2676bf9e2
commit 000e240bcf

@ -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();

Loading…
Cancel
Save