From eb0acb6543b34e71a704b5b851e344d411414a92 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Fri, 23 Jun 2023 14:09:41 +0200 Subject: [PATCH] fix(formanswer): redirect to login if session expired --- front/formanswer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/front/formanswer.php b/front/formanswer.php index 60279beba..ce2f6e723 100644 --- a/front/formanswer.php +++ b/front/formanswer.php @@ -36,6 +36,8 @@ Html::displayNotFoundError(); } +Session::checkLoginUser(); + if (!PluginFormcreatorFormAnswer::canView()) { Html::displayRightError(); }