From a389169ac2c618552f595c546af07114e7585586 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Sat, 31 Aug 2024 19:30:48 +0100 Subject: [PATCH] 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 --- social/email/61-email.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/social/email/61-email.html b/social/email/61-email.html index d1cc9d31..9a9fdf49 100644 --- a/social/email/61-email.html +++ b/social/email/61-email.html @@ -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) { @@ -610,4 +610,4 @@ }); } }); - \ No newline at end of file +