mirror of
				https://github.com/Mibew/java.git
				synced 2025-10-31 02:26:00 +03:00 
			
		
		
		
	add csrf token to performance and features views
This commit is contained in:
		
							parent
							
								
									7f8b2fca89
								
							
						
					
					
						commit
						22916ce8a0
					
				| @ -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' => ''); | ||||
|  | ||||
| @ -73,6 +73,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