Skip to content

Commit 0694996

Browse files
committed
add a warning
1 parent 9c21fff commit 0694996

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/engflow_auth/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ func (r *appState) login(cliCtx *cli.Context) error {
227227
ctx := cliCtx.Context
228228

229229
if cliCtx.Bool("insecure") {
230+
fmt.Println("Warning: server TLS validation is disabled")
230231
httpClient := &http.Client{
231232
Transport: &http.Transport{
232233
TLSClientConfig: &tls.Config{

0 commit comments

Comments
 (0)