Don't overwrite the event if we use it later
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
3869c235de
commit
f14c0dec40
|
@ -122,8 +122,8 @@ class Server {
|
|||
$event = new SabrePluginEvent($this->server);
|
||||
$dispatcher->dispatch('OCA\DAV\Connector\Sabre::authInit', $event);
|
||||
|
||||
$event = new SabrePluginAuthInitEvent($this->server);
|
||||
$newDispatcher->dispatchTyped($event);
|
||||
$newAuthEvent = new SabrePluginAuthInitEvent($this->server);
|
||||
$newDispatcher->dispatchTyped($newAuthEvent);
|
||||
|
||||
$bearerAuthBackend = new BearerAuth(
|
||||
\OC::$server->getUserSession(),
|
||||
|
|
Loading…
Reference in New Issue