summaryrefslogtreecommitdiff
path: root/pkg/vpn/bonafide
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-08-19 17:51:34 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-08-20 20:27:48 +0200
commit9882dfc474e410b5745388ca7d1bbc873be836b3 (patch)
tree22552fe47b15fbdc3dd5a60e9312f6d656214acc /pkg/vpn/bonafide
parent709220836e10f559a11c2b70177f6d58d9b7a0a1 (diff)
[bug] anon needs no credentials
Diffstat (limited to 'pkg/vpn/bonafide')
-rw-r--r--pkg/vpn/bonafide/auth_anon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/vpn/bonafide/auth_anon.go b/pkg/vpn/bonafide/auth_anon.go
index c6c5775..9fc9587 100644
--- a/pkg/vpn/bonafide/auth_anon.go
+++ b/pkg/vpn/bonafide/auth_anon.go
@@ -22,7 +22,7 @@ import (
type anonymousAuthentication struct{}
func (a *anonymousAuthentication) needsCredentials() bool {
- return true
+ return false
}
func (a *anonymousAuthentication) getToken(user, password string) ([]byte, error) {