summaryrefslogtreecommitdiff
path: root/pkg/vpn/bonafide/auth_sip.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-08-19 17:40:36 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-08-20 20:27:47 +0200
commit709220836e10f559a11c2b70177f6d58d9b7a0a1 (patch)
tree17edf8c6d0d20e133f5dcb2747ea4dc35533a4ea /pkg/vpn/bonafide/auth_sip.go
parentb9cae0b715ce34cfb0b7f85f023c31ef8ddd54d3 (diff)
[debug] improve error handling for geolocation
Diffstat (limited to 'pkg/vpn/bonafide/auth_sip.go')
-rw-r--r--pkg/vpn/bonafide/auth_sip.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/vpn/bonafide/auth_sip.go b/pkg/vpn/bonafide/auth_sip.go
index e00252f..0c8ee4f 100644
--- a/pkg/vpn/bonafide/auth_sip.go
+++ b/pkg/vpn/bonafide/auth_sip.go
@@ -40,7 +40,6 @@ func (a *sipAuthentication) needsCredentials() bool {
func (a *sipAuthentication) getToken(user, password string) ([]byte, error) {
/* TODO refresh session token periodically */
if hasRecentToken() {
- log.Println("Got cached token")
return readToken()
}
credJSON, err := formatCredentials(user, password)