mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:15:11 +00:00
DAV auth issue
This commit is contained in:
parent
cf0b1f1f15
commit
63123759ed
1 changed files with 1 additions and 0 deletions
|
@ -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 ];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue