Skip to content

Commit 1a89435

Browse files
fix(docs): update docs
1 parent 0af3c7f commit 1a89435

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/publisher/auth/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@ The main application automatically selects the appropriate authentication provid
8080
var authProvider auth.Provider
8181
switch authMethod {
8282
case "github-oauth":
83-
fallthrough
84-
default:
8583
log.Println("Using GitHub OAuth for authentication")
8684
authProvider = github.NewOAuthProvider(forceLogin, registryURL)
85+
default:
86+
log.Printf("Unsupported authentication method: %s\n", authMethod)
87+
return
8788
}
8889

8990
// Check if login is needed and perform authentication

0 commit comments

Comments
 (0)