X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FParseUrl.php;h=e2d75ee8447fd70e2c561a4c5f5a021d26a78541;hb=e1863951986ba5be173758324a00652bc5af870c;hp=91d09240b7e6d39e5b530f3c28fc10643ba17915;hpb=3842f02b021f2f32dbe6707c22af5760c3353dfa;p=friendica.git diff --git a/src/Module/ParseUrl.php b/src/Module/ParseUrl.php index 91d09240b7..e2d75ee844 100644 --- a/src/Module/ParseUrl.php +++ b/src/Module/ParseUrl.php @@ -1,6 +1,6 @@ userSession = $userSession; + } + protected function rawContent(array $request = []) { - if (!Session::isAuthenticated()) { + if (!$this->userSession->isAuthenticated()) { throw new \Friendica\Network\HTTPException\ForbiddenException(); }