minor auth refactor, some tidy-up

This commit is contained in:
ari melody 2026-06-28 16:59:41 +01:00
parent 75534da702
commit 21b7a3926b
Signed by: ari
GPG key ID: 60B5F0386E3DDB7E
3 changed files with 63 additions and 45 deletions

View file

@ -61,7 +61,7 @@ func GenerateToken(
oauth2.AccessTypeOffline,
oauth2.S256ChallengeOption(verifier),
)
fmt.Printf("\nSign in to YouTube: %s\n\n", url)
log.Printf("Sign in to YouTube: %s\n\n", url)
wg.Add(1)
if err := server.ListenAndServe(); err != http.ErrServerClosed {