diff options
author | Ruben Pollan <meskio@sindominio.net> | 2020-02-11 13:43:01 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-08-20 20:27:42 +0200 |
commit | c56df01274a91ff730018dcd6272423a3e1593f0 (patch) | |
tree | 0650d3b8cb27caff177b7306cc7f27d987824664 /pkg/vpn/bonafide/eip_service.go | |
parent | 8bb41cff9f47895e00d7773dfd9372a7e17fae59 (diff) |
[feat] expose auth API in pkg/vpn
Be able to check if it needs auth and then be able to login. Use the
logged in token for fetching the cert.
Diffstat (limited to 'pkg/vpn/bonafide/eip_service.go')
-rw-r--r-- | pkg/vpn/bonafide/eip_service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/vpn/bonafide/eip_service.go b/pkg/vpn/bonafide/eip_service.go index 618eda4..ff73da9 100644 --- a/pkg/vpn/bonafide/eip_service.go +++ b/pkg/vpn/bonafide/eip_service.go @@ -73,7 +73,7 @@ func (b *Bonafide) setupAuthentication(i interface{}) { case "anon": // Do nothing, we're set on initialization. case "sip": - b.auth = &sipAuthentication{b.client, b.getURL("auth"), b.getURL("certv3")} + b.auth = &sipAuthentication{b.client, b.getURL("auth")} default: log.Printf("BUG: unknown authentication method %s", auth) } |