From 3c11977c772683e5e90234ed1f0b1073513391c7 Mon Sep 17 00:00:00 2001
From: snvv133 <80438059+snvv133@users.noreply.github.com>
Date: Sun, 19 Apr 2026 11:33:29 -0700
Subject: [PATCH] security: fix password log leak, getDb CSRF, cookie hardening
1. web/controller/index.go
Stop logging the submitted plaintext password on failed login.
Replace it with "***" in the Telegram notification too.
2. web/controller/server.go + web/html/index.html
Convert /panel/api/server/getDb from GET to POST and require an
X-Requested-With header. Prevents
//