From d5e77685a4aaf5433bf60cc9ac06a6d9f69b3117 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 7 Oct 2020 15:43:44 +0200 Subject: [PATCH] also give storage backend it's change to manipulate the config Signed-off-by: Robin Appelman --- apps/files_external/lib/Command/Notify.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php index 5a9df0b81f8..b9c0b6da02c 100644 --- a/apps/files_external/lib/Command/Notify.php +++ b/apps/files_external/lib/Command/Notify.php @@ -153,6 +153,15 @@ class Notify extends Base { $mount->setBackendOption('password', $passwordOption); } + try { + $backend = $mount->getBackend(); + $backend->manipulateStorageConfig($mount, $user); + } catch (InsufficientDataForMeaningfulAnswerException $e) { + $noAuth = true; + } catch (StorageNotAvailableException $e) { + $noAuth = true; + } + try { $storage = $this->createStorage($mount); } catch (\Exception $e) { -- 2.39.5