diff --git a/src/app/configuration/controllers/ConfigurationController.php b/src/app/configuration/controllers/ConfigurationController.php
index 291256c5cebd0fd1f7d186b993b700420d030b1f..2076b45f5ce6bc80b0a621c4e911bec6b797f177 100755
--- a/src/app/configuration/controllers/ConfigurationController.php
+++ b/src/app/configuration/controllers/ConfigurationController.php
@@ -210,7 +210,6 @@ class ConfigurationController
                 'from'      => $body['value']['from'],
                 'charset'   => empty($body['value']['charset']) ? 'utf-8' : $body['value']['charset']
             ]);
-
         } elseif ($configuration['identifier'] == 'ldapServer') {
             if (!PrivilegeController::hasPrivilege(['userId' => $GLOBALS['id'], 'privilege' => 'manage_connections'])) {
                 return $response->withStatus(403)->withJson(['errors' => 'Privilege forbidden']);
@@ -368,8 +367,8 @@ class ConfigurationController
                 return ['errors' => 'Body[\'value\'] port is empty or not an integer'];
             } elseif (!Validator::boolType()->validate($args['auth'])) {
                 return ['errors' => 'Body[\'value\'] auth is empty or not a boolean'];
-            } elseif (!Validator::stringType()->notEmpty()->validate($args['secure'])) {
-                return ['errors' => 'Body[\'value\'] secure is empty or not a string'];
+            } elseif (!Validator::stringType()->validate($args['secure'])) {
+                return ['errors' => 'Body[\'value\'] secure is not a string'];
             } elseif (!Validator::stringType()->notEmpty()->validate($args['from'])) {
                 return ['errors' => 'Body[\'value\'] from is empty or not a string'];
             }