diff --git a/public/ajax.php b/public/ajax.php index 86bf9bb4..ff2073e6 100644 --- a/public/ajax.php +++ b/public/ajax.php @@ -160,7 +160,7 @@ try { $result = $class::$action($params); exit(json_encode(success($result))); } else { - do_log('hack attempt '.print_r($CURUSER, true), 'error'); + do_log("hacking attempt made by {$CURUSER['username']},uid {$CURUSER['id']}", 'error'); throw new \RuntimeException("no Action"); } }catch(\Throwable $exception){