Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/main.go b/main.go
index 84ffca6e..e0b83969 100644
--- a/main.go
+++ b/main.go
@@ -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)
}