Add message on screen to close the window
This commit is contained in:
parent
9e7448c53b
commit
fab53a1b4d
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user