mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
add csrf token to performance and features views
This commit is contained in:
parent
69463ded6b
commit
da790fc8d2
@ -23,6 +23,8 @@ require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/settings.php');
|
||||
|
||||
csrfchecktoken();
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
$page = array('agentId' => '');
|
||||
|
@ -23,6 +23,8 @@ require_once('../libs/common.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/settings.php');
|
||||
|
||||
csrfchecktoken();
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
$page = array('agentId' => '');
|
||||
|
@ -85,6 +85,10 @@ require_once('inc_errors.php');
|
||||
<?php } ?>
|
||||
|
||||
<form name="features" method="post" action="<?php echo $webimroot ?>/operator/features.php">
|
||||
|
||||
<!-- add auth token -->
|
||||
<?php print_csrf_token_input() ?>
|
||||
|
||||
<input type="hidden" name="sent" value="true"/>
|
||||
<div>
|
||||
<?php print_tabbar(); ?>
|
||||
|
@ -40,6 +40,9 @@ require_once('inc_errors.php');
|
||||
|
||||
<form name="performance" method="post" action="<?php echo $webimroot ?>/operator/performance.php">
|
||||
|
||||
<!-- add auth token -->
|
||||
<?php print_csrf_token_input() ?>
|
||||
|
||||
<div>
|
||||
<?php print_tabbar(); ?>
|
||||
<div class="mform"><div class="formtop"><div class="formtopi"></div></div><div class="forminner">
|
||||
|
Loading…
Reference in New Issue
Block a user