summaryrefslogtreecommitdiff
path: root/pkg/vpn/bonafide/bonafide.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vpn/bonafide/bonafide.go')
-rw-r--r--pkg/vpn/bonafide/bonafide.go4
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