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
597cc797a1
commit
683142e1f3
|
@ -152,6 +152,15 @@ class Notify extends Base {
|
||||||
$mount->setBackendOption('password', $passwordOption);
|
$mount->setBackendOption('password', $passwordOption);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
$backend = $mount->getBackend();
|
||||||
|
$backend->manipulateStorageConfig($mount, $user);
|
||||||
|
} catch (InsufficientDataForMeaningfulAnswerException $e) {
|
||||||
|
$noAuth = true;
|
||||||
|
} catch (StorageNotAvailableException $e) {
|
||||||
|
$noAuth = true;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$storage = $this->createStorage($mount);
|
$storage = $this->createStorage($mount);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|
Loading…
Reference in New Issue