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

View File

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