[Generator] Fingerprinting CAPTCHAs to keep the same image between two
requests (fixes #11)
This commit is contained in:
@ -41,6 +41,10 @@ class CaptchaValidator implements FormValidatorInterface
|
||||
}
|
||||
|
||||
$this->session->remove($this->key);
|
||||
|
||||
if ($this->session->has($this->key.'_fingerprint')) {
|
||||
$this->session->remove($this->key.'_fingerprint');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user