Fixup post

This commit is contained in:
Philipp 2022-10-31 12:53:48 +01:00
parent 437472d0a6
commit 3554894577
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,6 @@ class Follow extends BaseModule
protected function post(array $request = [])
{
parent::post($request);
if (!$this->session->getLocalUserId()) {
throw new ForbiddenException($this->t('Access denied.'));
}
@ -79,6 +77,8 @@ class Follow extends BaseModule
}
$url = Probe::cleanURI($this->session->get('url'));
$this->process($url);
}
protected function content(array $request = []): string