Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Doridian committed Jun 19, 2022
1 parent bffcfa3 commit 19a5ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ func main() {

if dest.User != nil {
dest.User = nil
log.Printf("[C] WARNING: You have put the VPN password on the command line! This can cause security issues!")
log.Printf("[C] WARNING: You have put your password on the command line! This can cause security issues!")
}

header := http.Header{}
if userInfo != nil {
log.Printf("[C] Connecting to %s as user %s", dest.Redacted(), userInfo.Username())
if _, pws := userInfo.Password(); !pws {
log.Printf("[C] WARNING: You have specified to connect to the VPN with a username but without a password!")
log.Printf("[C] WARNING: You have specified to connect with a username but without a password!")
}
header.Add("Authorization", "Basic "+base64.StdEncoding.EncodeToString([]byte(userInfo.String())))
} else {
Expand Down

0 comments on commit 19a5ab9

Please sign in to comment.