diff options
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/personal.php b/settings/personal.php index e9e2046f00a..e58e043af50 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -119,7 +119,9 @@ $clients = array( $enableCertImport = false; $externalStorageEnabled = \OC::$server->getAppManager()->isEnabledForUser('files_external'); if ($externalStorageEnabled) { - $enableCertImport = true; + /** @var \OCA\Files_External\Service\BackendService $backendService */ + $backendService = \OC_Mount_Config::$app->getContainer()->query('\OCA\Files_External\Service\BackendService'); + $enableCertImport = $backendService->isUserMountingAllowed(); } |