Skip to content
Snippets Groups Projects
Commit f8fa031e authored by Vincent Petry's avatar Vincent Petry Committed by GitHub
Browse files

Merge pull request #25273 from owncloud/ext-fixsessioncredentialsnolazyload

Quickfix: do not lazy load auth mechanisms for ext storages
parents 1d4c61af 0d3de20b
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment