Skip to content
Snippets Groups Projects
Commit a2c52bd2 authored by soif's avatar soif Committed by Jared Hancock
Browse files

missing CSRF token in form ( fix can't manage-faq)

parent 88ba9406
Branches
Tags
No related merge requests found
...@@ -40,6 +40,7 @@ if($thisstaff->canManageFAQ()) { ...@@ -40,6 +40,7 @@ if($thisstaff->canManageFAQ()) {
?> ?>
<div> <div>
<form action="faq.php?id=<?php echo $faq->getId(); ?>" method="post"> <form action="faq.php?id=<?php echo $faq->getId(); ?>" method="post">
<?php csrf_token(); ?>
<input type="hidden" name="id" value="<?php echo $faq->getId(); ?>"> <input type="hidden" name="id" value="<?php echo $faq->getId(); ?>">
<input type="hidden" name="do" value="manage-faq"> <input type="hidden" name="do" value="manage-faq">
<div> <div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment