mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:10:12 +00:00
Enable calendar export for public_calendar = true
This commit is contained in:
parent
79d1506694
commit
323765110c
2 changed files with 23 additions and 6 deletions
|
@ -64,7 +64,7 @@ class Show extends BaseModule
|
|||
|
||||
protected function content(array $request = []): string
|
||||
{
|
||||
$nickname = $this->parameters['nickname'] ?? $this->app->getLoggedInUserNickname();
|
||||
$nickname = $this->parameters['nickname'] ?? $this->session->getLocalUserNickname();
|
||||
if (!$nickname) {
|
||||
throw new HTTPException\UnauthorizedException();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue