Add message on screen to close the window

This commit is contained in:
Peter Stuifzand 2018-06-27 21:13:15 +02:00
parent 9e7448c53b
commit fab53a1b4d

View File

@ -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, `<div style="width:100%%;height:100%%;display: flex; align-items: center; justify-content: center;">You can close this window, proceed on the command line</div>`)
close(shutdown)
}