From f9b0e5f3cf144b77d78e5303e9662b522c893372 Mon Sep 17 00:00:00 2001 From: Sanaei Date: Fri, 27 Sep 2024 13:05:05 +0200 Subject: [PATCH] Fix code scanning alert no. 55: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index cd8989fa..fde53631 100644 --- a/main.go +++ b/main.go @@ -150,7 +150,7 @@ func showSetting(show bool) { fmt.Println("current panel settings as follows:") fmt.Println("username:", username) - fmt.Println("password:", userpasswd) + fmt.Println("password: [REDACTED]") fmt.Println("port:", port) if webBasePath != "" { fmt.Println("webBasePath:", webBasePath)