fix spelling in user service

master
CyberShell 2 years ago
parent 12f38afc27
commit 43e4c510ad

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

Loading…
Cancel
Save