DAV auth issue

This commit is contained in:
redmatrix 2016-07-21 15:50:07 -07:00
parent cf0b1f1f15
commit 63123759ed

View file

@ -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 ];
}