summaryrefslogtreecommitdiff
path: root/pkg/vpn/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vpn/main.go')
-rw-r--r--pkg/vpn/main.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/vpn/main.go b/pkg/vpn/main.go
index 4bf4395..de8e61f 100644
--- a/pkg/vpn/main.go
+++ b/pkg/vpn/main.go
@@ -92,3 +92,11 @@ func (b *Bitmask) Close() {
func (b *Bitmask) Version() (string, error) {
return "", nil
}
+
+func (b *Bitmask) NeedsCredentials() bool {
+ return b.bonafide.NeedsCredentials()
+}
+
+func (b *Bitmask) DoLogin(username, password string) (bool, error) {
+ return b.bonafide.DoLogin(username, password)
+}