From fab53a1b4d3548dc7503b8df9808aef4dc2e7d8c Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Wed, 27 Jun 2018 21:13:15 +0200 Subject: [PATCH] Add message on screen to close the window --- pkg/indieauth/auth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/indieauth/auth.go b/pkg/indieauth/auth.go index c907945..82c93c4 100644 --- a/pkg/indieauth/auth.go +++ b/pkg/indieauth/auth.go @@ -93,6 +93,7 @@ func Authorize(me *url.URL, endpoints Endpoints, clientID, scope string) (TokenR if state != responseState { log.Println("Wrong state response") } + fmt.Fprintf(w, `
You can close this window, proceed on the command line
`) close(shutdown) }