create cdav principal also on client access and remove redundant pconfig check in authentication process
This commit is contained in:
@@ -188,13 +188,10 @@ class BasicAuth extends DAV\Auth\Backend\AbstractBasic {
|
||||
|
||||
protected function check_module_access($channel_id) {
|
||||
if($channel_id && \App::$module === 'cdav') {
|
||||
$x = get_pconfig($channel_id,'cdav','enabled');
|
||||
if(! $x) {
|
||||
$this->module_disabled = true;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
$this->module_disabled = true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user