summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-07-11 13:26:50 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-07-11 13:26:50 +0200
commit994f18e532c0501a51fd9bb8563d6ee351785e04 (patch)
tree90ed7e50d90890ec31b6912d945bb7667d83a1a7
parent2565f5be6a2653edbec06ec36f8d5d8bff925da0 (diff)
OAuth: Make OAuth cancel error less confusing
-rw-r--r--internal/oauth/oauth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/oauth/oauth.go b/internal/oauth/oauth.go
index ef1bed4..d828e57 100644
--- a/internal/oauth/oauth.go
+++ b/internal/oauth/oauth.go
@@ -289,7 +289,7 @@ func (oauth *OAuth) Finish() error {
}
func (oauth *OAuth) Cancel() {
- oauth.Session.CallbackError = &types.WrappedErrorMessage{Message: "failed cancelling OAuth", Err: &OAuthCancelledCallbackError{}}
+ oauth.Session.CallbackError = &types.WrappedErrorMessage{Message: "cancelled OAuth", Err: &OAuthCancelledCallbackError{}}
oauth.Session.Server.Shutdown(oauth.Session.Context)
}