diff options
| author | Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-29 15:08:32 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-29 15:08:32 +0200 |
| commit | 0e1f9826f2aea1a059529f9c3d1c921d7d4ac3d4 (patch) | |
| tree | 2d26bd6dbd33abde910bff00078f520dad890a4d /internal/oauth.go | |
| parent | 6c7a1c7a9245cf457a86fd15bdc14bc93b55d508 (diff) | |
Secure Internet: Basic implementation and add support to cli
Diffstat (limited to 'internal/oauth.go')
| -rw-r--r-- | internal/oauth.go | 3 |
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") |
