Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
06331625
Commit
06331625
authored
Jun 27, 2016
by
Vincent Petry
Committed by
GitHub
Jun 27, 2016
Browse files
Merge pull request #25273 from owncloud/ext-fixsessioncredentialsnolazyload
Quickfix: do not lazy load auth mechanisms for ext storages
parents
79cfad0c
95344d06
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files_external/lib/AppInfo/Application.php
View file @
06331625
...
@@ -52,6 +52,10 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide
...
@@ -52,6 +52,10 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide
$backendService
->
registerBackendProvider
(
$this
);
$backendService
->
registerBackendProvider
(
$this
);
$backendService
->
registerAuthMechanismProvider
(
$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!
// app developers: do NOT depend on this! it will disappear with oC 9.0!
\
OC
::
$server
->
getEventDispatcher
()
->
dispatch
(
\
OC
::
$server
->
getEventDispatcher
()
->
dispatch
(
'OCA\\Files_External::loadAdditionalBackends'
'OCA\\Files_External::loadAdditionalBackends'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment