From 07ab31dc06b3071af7cd6e5c8a88f2507ac109ee Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 11 Dec 2025 00:31:46 +0500 Subject: fix: hide secret in configuration --- system/config.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/system/config.php b/system/config.php index e03e95b..4a1a9da 100644 --- a/system/config.php +++ b/system/config.php @@ -25,6 +25,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } foreach ($_POST as $k => $v) { + if ($v == '****') { + continue; + } + $parts = explode('_', $k); $part_count = count($parts); if ($part_count != 2) { @@ -70,6 +74,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
+

Instance configuration

@@ -112,8 +117,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { Password - + Host @@ -284,8 +288,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { Client secret - + -- cgit v1.2.3