Fixed syntax error on the password recovery page.

This commit is contained in:
flash 2020-05-27 15:06:41 +00:00
parent 526609fe2d
commit f6fc3946d0

View file

@ -63,7 +63,7 @@ while($canResetPassword) {
}
if(user_password_set($userId, $passwordNew)) {
AuditLog::(AuditLog::PASSWORD_RESET, [], User::byId($userId));
AuditLog::create(AuditLog::PASSWORD_RESET, [], User::byId($userId));
} else {
throw new UnexpectedValueException('Password reset failed.');
}