DAV auth issue
This commit is contained in:
parent
cf0b1f1f15
commit
63123759ed
@ -165,6 +165,7 @@ class BasicAuth extends DAV\Auth\Backend\AbstractBasic {
|
||||
function check(RequestInterface $request, ResponseInterface $response) {
|
||||
|
||||
if(local_channel()) {
|
||||
this->setAuthenticated(\App::get_channel());
|
||||
return [ true, $this->principalPrefix . $this->channel_name ];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user