also give storage backend it's change to manipulate the config

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/23021/head
Robin Appelman 6 years ago
parent 6fed17a342
commit ea80d1d68f
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 9
      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) {

Loading…
Cancel
Save