From 07ac5c5a994a4302bb493f11abfcc8b333ce6660 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Fri, 30 Aug 2024 18:02:58 +0100 Subject: [PATCH] email: Don't hide cert verification when no auth selected 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 +