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