fix: harden panel registration and captcha fallback

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/f9a720eb-aae6-4ea9-827b-49b18e158a2b

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-05-18 12:40:23 +00:00 committed by GitHub
parent e5357aecba
commit b9e831c909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 163 additions and 46 deletions

View file

@ -432,7 +432,7 @@ class OGPDatabaseMySQL extends OGPDatabase
$user_id = mysqli_insert_id($this->link);
if( !$user_id )
{
echo mysqli_errno($this->link) . ": " . mysqli_error($this->link);
error_log("OGP addUser failed: " . mysqli_errno($this->link) . ": " . mysqli_error($this->link));
return false;
}
else