From 0e1f9826f2aea1a059529f9c3d1c921d7d4ac3d4 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Fri, 29 Apr 2022 15:08:32 +0200 Subject: Secure Internet: Basic implementation and add support to cli --- internal/oauth.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/oauth.go') diff --git a/internal/oauth.go b/internal/oauth.go index 9d17777..98af5a4 100644 --- a/internal/oauth.go +++ b/internal/oauth.go @@ -326,8 +326,7 @@ func (oauth *OAuth) NeedsRelogin() bool { return true } -type OAuthCancelledCallbackError struct { -} +type OAuthCancelledCallbackError struct{} func (e *OAuthCancelledCallbackError) Error() string { return fmt.Sprintf("Client cancelled OAuth") -- cgit v1.2.3