Commit Graph

20 Commits

Author SHA1 Message Date
Olaf
61a8561dd6 fix (Captcha) allow null value for bypassCode 2020-01-03 00:04:18 +01:00
Olaf
5515c25872 chore (Symfony) use Symfony 5 + strict typing
Update Symfony version to 5
Use strict typing
2019-12-30 00:27:20 +01:00
Grégoire Passault
c844d0a440 Merge pull request #113 from waldermort/patch-1
Fix: Bypass code incorrectly compared
2015-01-13 14:43:37 +01:00
waldermort
0cb34f33b0 Fix: Numeric bypass code defaults to integer type
When adding a numeric only bypass code into config.yml, it is treated as an integer which causes validation to fail. A workaround is to surround the parameter with double quotes but many users may not be aware of this. This fix will explicitly convert it to a string.
2015-01-13 20:16:15 +08:00
waldermort
843f367540 Fix: Bypass code incorrectly compared
When the bypass code is given the value of '0', PHP equates it to boolean false causing the validation to fail.
2015-01-13 20:10:53 +08:00
Piotr Antosik
9614209d83 update docblock, fix typos, improve composer.json 2014-08-19 12:19:27 +02:00
dypa
e34e191d32 Update CaptchaValidator.php
fix typo (lol)
2014-07-03 12:50:49 +04:00
Gregwar
4e13d2d4cb Moving translation logic to the validator (fixes for 2.2, see #52) 2013-03-03 13:54:31 +01:00
Gregwar
42f6e92560 Cleaning session usage to keep options during as_url (fixes #41) 2013-01-21 15:18:36 +01:00
Gregwar
11fe650bde Adding option "humanity" (fixes #40) 2012-12-04 12:20:23 +01:00
Jeremy Livingston
fef3e306fd Optimize formatting for Symfony coding standards 2012-12-03 14:55:11 -05:00
Jeremy Livingston
a41e4dd865 Add URL generation method and update to Symfony 2.1 standards 2012-11-13 22:33:36 -05:00
Jeremy Livingston
f9885acde9 Add bypass_code configuration parameter to force captcha validation for development/automation. 2012-06-30 12:18:05 -04:00
Jeremy Livingston
8d54bfd598 Add invalid_message configuration option 2012-06-29 10:23:05 -04:00
Jeremy Livingston
63190cf896 Modified Session namespace for Symfony 2.1 2012-04-25 22:54:51 -04:00
Gregwar
bfd012ffe0 [Validator] Adding strtolower() to ignore case (fixes #12) 2011-12-14 10:18:38 +01:00
Gregwar
a3ce06f263 [Generator] Fingerprinting CAPTCHAs to keep the same image between two
requests (fixes #11)
2011-12-02 19:26:31 +01:00
Gregwar
df7c959f54 [Validation] Remove session value even if the posted code is valid 2011-12-02 18:23:08 +01:00
Wojciech Sznapka
e92b657796 Added ability to store captcha value in session between page redirects 2011-11-28 00:51:53 +01:00
Gregwar
4e1892fc02 Created captcha type (this works, but still no image generation) 2011-08-25 22:50:59 +02:00