Enable calendar export for public_calendar = true

This commit is contained in:
Hypolite Petovan 2023-01-13 19:20:55 -05:00
parent 79d1506694
commit 323765110c
2 changed files with 23 additions and 6 deletions

View file

@ -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();
}