Skip to content

Commit b5f13fc

Browse files
committed
cmd/imapmemserver: fix -password flag
1 parent 809d414 commit b5f13fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/imapmemserver/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func main() {
2828
flag.StringVar(&tlsCert, "tls-cert", "", "TLS certificate")
2929
flag.StringVar(&tlsKey, "tls-key", "", "TLS key")
3030
flag.StringVar(&username, "username", "user", "Username")
31-
flag.StringVar(&username, "password", "user", "Password")
31+
flag.StringVar(&password, "password", "user", "Password")
3232
flag.BoolVar(&debug, "debug", false, "Print all commands and responses")
3333
flag.BoolVar(&insecureAuth, "insecure-auth", false, "Allow authentication without TLS")
3434
flag.Parse()

0 commit comments

Comments
 (0)