mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Check Auth: Unset temporary $name variable.
This commit is contained in:
@@ -84,6 +84,7 @@
|
||||
foreach($conf['session.validate'] as $name) {
|
||||
$server_array[$name] = $_SERVER[$name];
|
||||
}
|
||||
unset($name);
|
||||
|
||||
//session validate: check to see if the session is valid
|
||||
if ($_SESSION['authorized'] && $_SESSION["user_hash"] !== hash('sha256', implode($server_array))) {
|
||||
|
||||
Reference in New Issue
Block a user