aoktox / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

Captcha not working #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. enable reCAPTCHA
2. try to reset forgotten password
3. enter reCAPTCHA code and continue

What is the expected output? What do you see instead?
This error appears:
ERROR, servlet.TopServlet, {b} pwm error during page generation: 5034 
ERROR_INVALID_FORMID

What version of PWM are you using?
1.5.5

What ldap directory and version are you using?
Novell eDirectory

Please paste any error log messages below:

Original issue reported on code.google.com by alessand...@gmail.com on 27 Jul 2011 at 11:20

GoogleCodeExporter commented 9 years ago
Usually this error is because:

a) your tomcat http session is no longer valid.
b) You have multiple pwm servers, and the load balancer isn't sticky.

Original comment by jrivard on 27 Jul 2011 at 1:38

GoogleCodeExporter commented 9 years ago
I've tested some more, problem happens only when "Show Reset Button" is set to 
false.

Original comment by alessand...@gmail.com on 28 Jul 2011 at 8:55

GoogleCodeExporter commented 9 years ago
Thanks for troubleshooting further.  That helped find the problem.  The fix is 
here:

http://code.google.com/p/pwm/source/diff?spec=svn211&r=211&format=side&path=/tru
nk/pwm/servlet/web/WEB-INF/jsp/captcha.jsp&old_path=/trunk/pwm/servlet/web/WEB-I
NF/jsp/captcha.jsp&old=204

Original comment by jrivard on 28 Jul 2011 at 3:48