From 2ec565242e7f99c0d0c9c7673bc80be417f9417c Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Wed, 15 Nov 2023 14:40:45 +0100 Subject: [PATCH] ViewPhoto: hotfix for getSessionTokenKey error --- controllers/ViewPhoto.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/ViewPhoto.php b/controllers/ViewPhoto.php index 81b909a..e6a8c39 100644 --- a/controllers/ViewPhoto.php +++ b/controllers/ViewPhoto.php @@ -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))