Fixed syntax error on the password recovery page.
This commit is contained in:
parent
526609fe2d
commit
f6fc3946d0
1 changed files with 1 additions and 1 deletions
|
@ -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.');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue