Grégoire Passault

Results 268 comments of Grégoire Passault

Hello, Can you provide some code or more information on this?

Ok, can we close this?

Does your forms have different names? Le mer. 28 déc. 2016 20:31, rashid-mycnw a écrit : > Same problem with me as well > > "name": "gregwar/captcha", > "version": "v1.1.1",...

@verschoof @rashid-mycnw does your forms both have the same name? The form name is used for session key, so having two forms with the same name is a problem (that...

You can investigate this with the profiler How the second request is generated and why?

@lalop, it's already the case, but you have to give different name to the captcha fields since it's used to match it in the session If you think we could...

Here is the key that is used in the session to validate the captcha: https://github.com/Gregwar/CaptchaBundle/blob/master/Type/CaptchaType.php#L68 Thus, if the field name differs it should be OK to have two captcha on...

OK, but in your case can't you give different input names? Like "registerCaptcha" and "loginCaptcha"?

Ok, Maybe what you want then is what is called intention http://symfony.com/doc/2.0/reference/forms/types/csrf.html#intention