fix: making use of flag
This commit is contained in:
parent
b5f531be5d
commit
733f594ec2
1 changed files with 1 additions and 1 deletions
2
auth.go
2
auth.go
|
@ -43,7 +43,7 @@ func parseAuth(auth string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func generateRandomAuth() {
|
func generateRandomAuth() {
|
||||||
username = "gopher"
|
username = *defaultUsernameBasicAuth
|
||||||
password = generateRandomString()
|
password = generateRandomString()
|
||||||
log.Printf("User generated for basic auth. User:'%v', password:'%v'\n", username, password)
|
log.Printf("User generated for basic auth. User:'%v', password:'%v'\n", username, password)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue