Skip to content

Commit

Permalink
fix(formanswer): redirect to login if session expired
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jun 23, 2023
1 parent 42dd84e commit eb0acb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions front/formanswer.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
Html::displayNotFoundError();
}

Session::checkLoginUser();

if (!PluginFormcreatorFormAnswer::canView()) {
Html::displayRightError();
}
Expand Down

0 comments on commit eb0acb6

Please sign in to comment.