1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 07:44:49 +02:00

Token fixes.

This commit is contained in:
Cameron
2017-03-02 12:51:03 -08:00
parent 84b1ec2f55
commit 7a3e3d9fc7
4 changed files with 26 additions and 5 deletions

View File

@@ -10,6 +10,10 @@
*
*
*/
if(!empty($_POST) && !isset($_POST['e-token']))
{
$_POST['e-token'] = '';
}
require_once("../class2.php");
if (!getperms("T"))
@@ -128,6 +132,7 @@ $text = "
<div class='buttons-bar center'>".
$frm->admin_button('metasubmit','no-value','update', LAN_UPDATE)."
</div>
<input type='hidden' name='e-token' value='".e_TOKEN."' />
</fieldset>
</form>
";