also give storage backend it's change to manipulate the config
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
b750503f4a
commit
d5e77685a4
|
@ -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…
Reference in New Issue