Skip to content

Commit 57b42b8

Browse files
committed
fix: cli default
1 parent f97b3ae commit 57b42b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/web/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func loadCliArgs() *args {
4545
cfg.Address = flag.String("A", "0.0.0.0", "Bind Address")
4646
cfg.Port = flag.Int("P", 9999, "Bind Port")
4747
cfg.Username = flag.String("u", "gopeed", "Web Authentication Username")
48-
cfg.Password = flag.String("p", "123456", "Web Authentication Password, if no password is set, web authentication will not be enabled")
48+
cfg.Password = flag.String("p", "", "Web Authentication Password, if no password is set, web authentication will not be enabled")
4949
cfg.ApiToken = flag.String("T", "", "API token, it must be configured when using HTTP API in the case of enabling web authentication")
5050
cfg.StorageDir = flag.String("d", "", "Storage directory")
5151
whiteDownloadDirs := flag.String("w", "", "White download directories, comma-separated")

0 commit comments

Comments
 (0)