Skip to content

Commit c71dcd3

Browse files
authored
Merge pull request cli#1013 from cli/auth-complete-fix
Fix showing "Authentication complete" notice after OAuth dance
2 parents 20bfa82 + 0d7177f commit c71dcd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/config/config_setup.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ func setupConfigFile(filename string) (Config, error) {
110110
return nil, err
111111
}
112112

113+
AuthFlowComplete()
114+
113115
// TODO cleaner error handling? this "should" always work given that we /just/ wrote the file...
114116
return ParseConfig(filename)
115117
}

0 commit comments

Comments
 (0)