fix: making use of flag

This commit is contained in:
Pierre Zemb 2017-11-14 00:27:56 +01:00
parent b5f531be5d
commit 733f594ec2
No known key found for this signature in database
GPG key ID: E48ABD1BBB7FEC23

View file

@ -43,7 +43,7 @@ func parseAuth(auth string) {
}
func generateRandomAuth() {
username = "gopher"
username = *defaultUsernameBasicAuth
password = generateRandomString()
log.Printf("User generated for basic auth. User:'%v', password:'%v'\n", username, password)
}