From 683142e1f3df359812b1134fd392d1edef0b9a92 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 e20a859ceb..734d7b162a 100644 --- a/apps/files_external/lib/Command/Notify.php +++ b/apps/files_external/lib/Command/Notify.php @@ -152,6 +152,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) {