reverting
This commit is contained in:
parent
da306f598b
commit
34cd480bd5
@ -48,7 +48,13 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Generate a new CAPTCHA for the next submission AFTER processing the form
|
||||
$_SESSION['captcha'] = [
|
||||
'num1' => rand(1, 10),
|
||||
'num2' => rand(1, 10),
|
||||
'answer' => $_SESSION['captcha']['num1'] + $_SESSION['captcha']['num2']
|
||||
];
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user