Skip to content

successful validated captcha in session not deleted #47

@tomg65

Description

@tomg65

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions