ViewPhoto: hotfix for getSessionTokenKey error
This commit is contained in:
parent
62d138192d
commit
2ec565242e
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user