From 568427ca98f22e2c89178d4a9d85b31bc93d5c86 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Wed, 19 Feb 2020 13:26:43 +0200 Subject: [PATCH] Disable changing TLS if STS is enforced --- client/components/NetworkForm.vue | 10 +++++++++- src/models/network.js | 6 +++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/client/components/NetworkForm.vue b/client/components/NetworkForm.vue index 2c893314..1f295e0c 100644 --- a/client/components/NetworkForm.vue +++ b/client/components/NetworkForm.vue @@ -65,10 +65,18 @@ type="checkbox" name="tls" :checked="defaults.tls ? true : false" - :disabled="config.lockNetwork ? true : false" + :disabled=" + config.lockNetwork || defaults.hasSTSPolicy ? true : false + " @change="onSecureChanged" /> Use secure connection (TLS) + 🔒 STS