diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-16 15:52:12 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-17 11:06:51 +0200 |
commit | bc89bca8039aa09716ebd525fd0d50789430324f (patch) | |
tree | 71cb2131cc7811b7b4bcc84e2d0c61410bbfb463 /lib/private/connector | |
parent | c9397dffea9da757d18514e8eb303c3c88756c84 (diff) | |
download | nextcloud-server-bc89bca8039aa09716ebd525fd0d50789430324f.tar.gz nextcloud-server-bc89bca8039aa09716ebd525fd0d50789430324f.zip |
Make sure Maintenance is checked before auth and others
Diffstat (limited to 'lib/private/connector')
-rw-r--r-- | lib/private/connector/sabre/maintenanceplugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/maintenanceplugin.php b/lib/private/connector/sabre/maintenanceplugin.php index 5b48abbc517..f886332418a 100644 --- a/lib/private/connector/sabre/maintenanceplugin.php +++ b/lib/private/connector/sabre/maintenanceplugin.php @@ -65,7 +65,7 @@ class MaintenancePlugin extends ServerPlugin { */ public function initialize(\Sabre\DAV\Server $server) { $this->server = $server; - $this->server->on('beforeMethod', array($this, 'checkMaintenanceMode'), 10); + $this->server->on('beforeMethod', array($this, 'checkMaintenanceMode'), 1); } /** |