chore: Don't print URLs
This commit is contained in:
parent
01ad38d532
commit
e6c3212018
2 changed files with 2 additions and 2 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.idea/
|
3
main.go
3
main.go
|
@ -46,7 +46,7 @@ func main() {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
fmt.Println("Login succeeded, you may now (quickly) authenticate OpenVPN with %s as your password", token)
|
||||
fmt.Printf("Login succeeded, you may now (quickly) authenticate OpenVPN with %d as your password\n", token)
|
||||
}
|
||||
|
||||
func triggerChallengeResponse(host *string, username *string, password *string) (r Resp, err error) {
|
||||
|
@ -76,7 +76,6 @@ func logon(host *string, challenge *Resp, token *string) (err error) {
|
|||
}
|
||||
|
||||
func request(url string) (r Resp, err error) {
|
||||
fmt.Println(url)
|
||||
resp, err := http.Get(url)
|
||||
if err != nil {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue