Make sure Maintenance is checked before auth and others

This commit is contained in:
Joas Schilling 2015-09-16 15:52:12 +02:00 committed by Thomas Müller
parent c9397dffea
commit bc89bca803
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**