diff --git a/public/auth/password.php b/public/auth/password.php index 821a3c26..3c1962fc 100644 --- a/public/auth/password.php +++ b/public/auth/password.php @@ -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.'); }