[Generator] Fingerprinting CAPTCHAs to keep the same image between two

requests (fixes #11)
This commit is contained in:
Gregwar
2011-12-02 19:26:31 +01:00
parent 726f21e2ad
commit a3ce06f263
3 changed files with 70 additions and 13 deletions

View File

@ -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');
}
}
/**