Skip to content

Commit

Permalink
tweak net listener to localhost - removing unwanted popup (#955)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorvezani authored Jun 9, 2023
1 parent b876d30 commit 07747d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func HandleLogin(insightsHost string) error {

var user, token, organization string
if answer == loginUsingBrowser {
listener, err := net.Listen("tcp", ":0")
listener, err := net.Listen("tcp", "localhost:0")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 07747d7

Please sign in to comment.