summaryrefslogtreecommitdiff
path: root/internal/oauth.go
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroenwijenbergh@protonmail.com>2022-04-29 15:08:32 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-29 15:08:32 +0200
commit0e1f9826f2aea1a059529f9c3d1c921d7d4ac3d4 (patch)
tree2d26bd6dbd33abde910bff00078f520dad890a4d /internal/oauth.go
parent6c7a1c7a9245cf457a86fd15bdc14bc93b55d508 (diff)
Secure Internet: Basic implementation and add support to cli
Diffstat (limited to 'internal/oauth.go')
-rw-r--r--internal/oauth.go3
1 files changed, 1 insertions, 2 deletions
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")