diff options
author | Ruben Pollan <meskio@sindominio.net> | 2020-02-26 19:17:16 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-08-20 20:27:43 +0200 |
commit | 249a8844b1aaf2cd2bf6fddc8da10a4defb656d2 (patch) | |
tree | 49f97e20379cb0bdbe97b3d5481ebba2c66e645f /pkg/vpn/bonafide/bonafide.go | |
parent | c56df01274a91ff730018dcd6272423a3e1593f0 (diff) |
[bug] use the right http client to fetch the auth
Diffstat (limited to 'pkg/vpn/bonafide/bonafide.go')
-rw-r--r-- | pkg/vpn/bonafide/bonafide.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/vpn/bonafide/bonafide.go b/pkg/vpn/bonafide/bonafide.go index 4561eb1..87801cc 100644 --- a/pkg/vpn/bonafide/bonafide.go +++ b/pkg/vpn/bonafide/bonafide.go @@ -105,10 +105,10 @@ func New() *Bonafide { b.auth = &sipAuthentication{client, b.getURL("auth")} case "anon": log.Println("Client expects anon auth") - b.auth = &anonymousAuthentication{client} + b.auth = &anonymousAuthentication{} default: log.Println("Client expects invalid auth", auth) - b.auth = &anonymousAuthentication{client} + b.auth = &anonymousAuthentication{} } return b |