mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add session cookie httponly and set it to true.
This commit is contained in:
@@ -82,7 +82,7 @@ if (count($_POST) > 0 && check_str($_POST["persistform"]) != "1") {
|
||||
$msg = '';
|
||||
|
||||
//--- begin captcha verification ---------------------
|
||||
//session_start(); //make sure sessions are started
|
||||
//ini_set("session.cookie_httponly", True); //session_start(); //make sure sessions are started
|
||||
if (strtolower($_SESSION["captcha"]) != strtolower($_REQUEST["captcha"]) || strlen($_SESSION["captcha"]) == 0) {
|
||||
//$msg .= "Captcha Verification Failed<br>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user