ViewPhoto: hotfix for getSessionTokenKey error

This commit is contained in:
Aaron van Geffen 2023-11-15 14:40:45 +01:00
parent 62d138192d
commit 2ec565242e
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ class ViewPhoto extends HTMLController
if (empty($photo))
throw new NotFoundException();
Session::resetSessionToken();
parent::__construct($photo->getTitle() . ' - ' . SITE_TITLE);
if (!empty($_POST))