diff options
| author | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-05-03 14:00:25 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 14:00:25 +0300 |
| commit | 63edc63ab0c1b2ec679dde0292d5e557da8e350e (patch) | |
| tree | ec634f1e842080232f4288451281308a46bd3a05 /main.go | |
| parent | 85cbad3ef420ffdd7fec8657d247fdfe5e03903d (diff) | |
chore: do not show the current login and password (#2969)
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -151,9 +151,7 @@ func showSetting(show bool) { fmt.Println("get current user info failed, error info:", err) } - username := userModel.Username - userpasswd := userModel.Password - if username == "" || userpasswd == "" { + if userModel.Username == "" || userModel.Password == "" { fmt.Println("current username or password is empty") } @@ -163,8 +161,6 @@ func showSetting(show bool) { } else { fmt.Println("Panel is secure with SSL") } - fmt.Println("username:", username) - fmt.Println("password:", userpasswd) fmt.Println("port:", port) fmt.Println("webBasePath:", webBasePath) } |
