Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

successful validated captcha in session not deleted #47

Open
tomg65 opened this issue Nov 3, 2015 · 0 comments
Open

successful validated captcha in session not deleted #47

tomg65 opened this issue Nov 3, 2015 · 0 comments

Comments

@tomg65
Copy link

tomg65 commented Nov 3, 2015

Hi

The environment has a session.
An user commits a contact form with captcha.
Captcha is valid (controller based) and will be deleted in database but not in the session.
If the user calls the contact form again, then the captcha image ist not shown.
The captcha key is still stored in the session but no longer in the database - so the image code in the form is wrong.

Edit:
This happens just in production environment
In production the captcha code will not be new generated.
The method ViewHelper::show_simple_captcha is not called again.
In Middleware::call -> Middleware::make_image -> Utils::simple_captcha_value(code) the SELECT Satement don't get a result and the captcha image is empty

Regards
Thomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant