summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php b/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php
index de414e3aa2f..79999f968ae 100644
--- a/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php
@@ -46,7 +46,7 @@ class AnonymousOptionsPlugin extends ServerPlugin {
public function initialize(\Sabre\DAV\Server $server) {
$this->server = $server;
// before auth
- $this->server->on('beforeMethod', [$this, 'handleAnonymousOptions'], 9);
+ $this->server->on('beforeMethod:*', [$this, 'handleAnonymousOptions'], 9);
}
/**