We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f97b3ae commit 57b42b8Copy full SHA for 57b42b8
cmd/web/flags.go
@@ -45,7 +45,7 @@ func loadCliArgs() *args {
45
cfg.Address = flag.String("A", "0.0.0.0", "Bind Address")
46
cfg.Port = flag.Int("P", 9999, "Bind Port")
47
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")
+ cfg.Password = flag.String("p", "", "Web Authentication Password, if no password is set, web authentication will not be enabled")
49
cfg.ApiToken = flag.String("T", "", "API token, it must be configured when using HTTP API in the case of enabling web authentication")
50
cfg.StorageDir = flag.String("d", "", "Storage directory")
51
whiteDownloadDirs := flag.String("w", "", "White download directories, comma-separated")
0 commit comments