diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-27 14:57:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-27 14:57:29 +0200 |
commit | f8fa031e9f81ba052930d2de647d997af3c309c6 (patch) | |
tree | 5f307b6741729ccf1cfc7c2cb77e090d9f6ef3ea /apps | |
parent | 1d4c61af47d3b52a26080cb9046dd412cf3109f7 (diff) | |
parent | 0d3de20b021e3323f1873accacb7c4533f34e213 (diff) | |
download | nextcloud-server-f8fa031e9f81ba052930d2de647d997af3c309c6.tar.gz nextcloud-server-f8fa031e9f81ba052930d2de647d997af3c309c6.zip |
Merge pull request #25273 from owncloud/ext-fixsessioncredentialsnolazyload
Quickfix: do not lazy load auth mechanisms for ext storages
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/AppInfo/Application.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php index f78411038fa..b2eaf225e9e 100644 --- a/apps/files_external/lib/AppInfo/Application.php +++ b/apps/files_external/lib/AppInfo/Application.php @@ -52,6 +52,10 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide $backendService->registerBackendProvider($this); $backendService->registerAuthMechanismProvider($this); + // force-load auth mechanisms since some will register hooks + // TODO: obsolete these and use the TokenProvider to get the user's password from the session + $this->getAuthMechanisms(); + // app developers: do NOT depend on this! it will disappear with oC 9.0! \OC::$server->getEventDispatcher()->dispatch( 'OCA\\Files_External::loadAdditionalBackends' |