Make sure Maintenance is checked before auth and others
This commit is contained in:
parent
c9397dffea
commit
bc89bca803
|
@ -65,7 +65,7 @@ class MaintenancePlugin extends ServerPlugin {
|
||||||
*/
|
*/
|
||||||
public function initialize(\Sabre\DAV\Server $server) {
|
public function initialize(\Sabre\DAV\Server $server) {
|
||||||
$this->server = $server;
|
$this->server = $server;
|
||||||
$this->server->on('beforeMethod', array($this, 'checkMaintenanceMode'), 10);
|
$this->server->on('beforeMethod', array($this, 'checkMaintenanceMode'), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue