mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 07:44:49 +02:00
Token fixes.
This commit is contained in:
@@ -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>
|
||||
";
|
||||
|
Reference in New Issue
Block a user