email: Don't hide cert verification when no auth selected (#1080)

See https://github.com/node-red/node-red/issues/4860

It's still valid to not verify the cert and have no auth
This commit is contained in:
Ben Hardill 2024-08-31 19:30:48 +01:00 committed by GitHub
parent df6eae9ee9
commit a389169ac2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,13 +127,13 @@
$(".node-input-password").show();
$(".node-input-saslformat").hide();
$(".node-input-token").hide();
$(".node-input-useTLS").show();
// $(".node-input-useTLS").show();
} else if (protocol === "NONE") {
$(".node-input-userid").hide();
$(".node-input-password").hide();
$(".node-input-saslformat").hide();
$(".node-input-token").hide();
$(".node-input-useTLS").hide();
// $(".node-input-useTLS").hide();
} else {
$(".node-input-userid").show();
$(".node-input-password").hide();
@ -141,7 +141,7 @@
$(".node-input-token").show();
$("#node-input-fetch").val("trigger");
$("#node-input-fetch").change();
$(".node-input-useTLS").show();
// $(".node-input-useTLS").show();
}
});
if (this.credentials.global) {