diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-03-18 01:19:55 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-05-04 14:58:39 +0200 |
commit | d2b276be15f676873238fc0b73af60e938bd5e76 (patch) | |
tree | cbfbf6656670ba1215143df3d311d72869f5a206 /pkg/vpn/bonafide/auth_sip.go | |
parent | 399360bd48c7690f57d68eb67818bc26065748eb (diff) |
remove ugly on/off buttons
Diffstat (limited to 'pkg/vpn/bonafide/auth_sip.go')
-rw-r--r-- | pkg/vpn/bonafide/auth_sip.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/vpn/bonafide/auth_sip.go b/pkg/vpn/bonafide/auth_sip.go index cc9d967..f44954e 100644 --- a/pkg/vpn/bonafide/auth_sip.go +++ b/pkg/vpn/bonafide/auth_sip.go @@ -52,9 +52,8 @@ func (a *sipAuthentication) getToken(user, password string) ([]byte, error) { log.Println("ERROR: failed auth request", err) if os.IsTimeout(err) { return nil, fmt.Errorf("TokenErrTimeout") - } else { - return nil, fmt.Errorf("TokenErrBadPost") } + return nil, fmt.Errorf("TokenErrBadPost") } defer resp.Body.Close() if resp.StatusCode != 200 { |