Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/SettingsController.php')
-rw-r--r--lib/Controller/SettingsController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php
index e4ad23d5..24a7f1ad 100644
--- a/lib/Controller/SettingsController.php
+++ b/lib/Controller/SettingsController.php
@@ -114,7 +114,7 @@ class SettingsController extends Controller{
return new JSONResponse([
'wopi_url' => $this->appConfig->getAppValue('wopi_url'),
'public_wopi_url' => $this->appConfig->getAppValue('public_wopi_url'),
- 'disable_certificate_verification' => $this->appConfig->getAppValue('disable_certificate_verification'),
+ 'disable_certificate_verification' => $this->appConfig->getAppValue('disable_certificate_verification') === 'yes',
'edit_groups' => $this->appConfig->getAppValue('edit_groups'),
'use_groups' => $this->appConfig->getAppValue('use_groups'),
'doc_format' => $this->appConfig->getAppValue('doc_format'),