From c7c95633048924295776b7747a456bf64a7f8746 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 9 Jul 2020 12:10:27 +0300 Subject: [PATCH] Security attribute is now boolean --- app/config/collections.php | 4 ++-- app/views/console/tasks/index.phtml | 6 +++--- app/views/console/webhooks/index.phtml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/config/collections.php b/app/config/collections.php index 60f359c48..30fec5b07 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -634,7 +634,7 @@ $collections = [ '$collection' => Database::SYSTEM_COLLECTION_RULES, 'label' => 'Security', 'key' => 'security', - 'type' => 'numeric', + 'type' => 'boolean', 'default' => '', 'required' => false, 'array' => false, @@ -777,7 +777,7 @@ $collections = [ '$collection' => Database::SYSTEM_COLLECTION_RULES, 'label' => 'Security', 'key' => 'security', - 'type' => 'numeric', + 'type' => 'boolean', 'default' => '', 'required' => false, 'array' => false, diff --git a/app/views/console/tasks/index.phtml b/app/views/console/tasks/index.phtml index 5380dcde6..0652850cc 100644 --- a/app/views/console/tasks/index.phtml +++ b/app/views/console/tasks/index.phtml @@ -37,7 +37,7 @@
- +   SSL/TLS Disabled @@ -172,8 +172,8 @@

Warning: Untrusted or self-signed certificates may not be secure. diff --git a/app/views/console/webhooks/index.phtml b/app/views/console/webhooks/index.phtml index 66fa80dfa..6cf62b50a 100644 --- a/app/views/console/webhooks/index.phtml +++ b/app/views/console/webhooks/index.phtml @@ -85,8 +85,8 @@ $events = array_keys($this->getParam('events', []));

SSL / TLS (Certificate verification)
-   Enabled   -   Disabled   +   Enabled   +   Disabled  

Warning: Untrusted or self-signed certificates may not be secure. @@ -135,7 +135,7 @@ $events = array_keys($this->getParam('events', []));   ( events) - +   (SSL/TLS Disabled)