parent
2e6f7a66cf
commit
96e2a3a4b2
|
@ -89,7 +89,7 @@ class PublicAuth extends \Sabre\DAV\Auth\Backend\AbstractBasic {
|
|||
}
|
||||
return true;
|
||||
} else if (\OC::$server->getSession()->exists('public_link_authenticated')
|
||||
&& \OC::$server->getSession()->get('public_link_authenticated') === $linkItem['id']) {
|
||||
&& \OC::$server->getSession()->get('public_link_authenticated') === (string)$linkItem['id']) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue