From 1cf88f4fead8cc5285a740365dde4fbe5efdc786 Mon Sep 17 00:00:00 2001 From: Suven-p Date: Fri, 4 Oct 2024 17:35:24 +0545 Subject: [PATCH] Disable certificate expiry notification when SSL errors are ignored (#5156) --- src/lang/en.json | 1 + src/pages/EditMonitor.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/lang/en.json b/src/lang/en.json index 24ca7cd99..28ff675e1 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -82,6 +82,7 @@ "resendEveryXTimes": "Resend every {0} times", "resendDisabled": "Resend disabled", "retriesDescription": "Maximum retries before the service is marked as down and a notification is sent", + "ignoredTLSError": "TLS/SSL errors have been ignored", "ignoreTLSError": "Ignore TLS/SSL errors for HTTPS websites", "ignoreTLSErrorGeneral": "Ignore TLS/SSL error for connection", "upsideDownModeDescription": "Flip the status upside down. If the service is reachable, it is DOWN.", diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 53a31737c..cb33fc0a4 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -565,8 +565,8 @@

{{ $t("Advanced") }}

-
- +
+ @@ -1456,6 +1456,12 @@ message HealthCheckResponse { } this.monitor.game = newGameObject.keys[0]; }, + + "monitor.ignoreTls"(newVal) { + if (newVal) { + this.monitor.expiryNotification = false; + } + }, }, mounted() { this.init();