Un-export AuthFlow
This commit is contained in:
parent
8e70fe939d
commit
c1a518ef8e
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ func IsGitHubApp(id string) bool {
|
|||
}
|
||||
|
||||
func AuthFlowWithConfig(cfg Config, hostname, notice string) (string, error) {
|
||||
token, userLogin, err := AuthFlow(hostname, notice)
|
||||
token, userLogin, err := authFlow(hostname, notice)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
|
@ -49,7 +49,7 @@ func AuthFlowWithConfig(cfg Config, hostname, notice string) (string, error) {
|
|||
return token, nil
|
||||
}
|
||||
|
||||
func AuthFlow(oauthHost, notice string) (string, string, error) {
|
||||
func authFlow(oauthHost, notice string) (string, string, error) {
|
||||
var verboseStream io.Writer
|
||||
if strings.Contains(os.Getenv("DEBUG"), "oauth") {
|
||||
verboseStream = os.Stderr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue