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

Storing/reading phrases in session is inconsistent #82

Closed
yodaXX opened this issue Nov 19, 2024 · 2 comments
Closed

Storing/reading phrases in session is inconsistent #82

yodaXX opened this issue Nov 19, 2024 · 2 comments

Comments

@yodaXX
Copy link

yodaXX commented Nov 19, 2024

Kind of a weird issue. I was wondering if anybody has the same problem as me.
Customer reported issues with the captcha on his page, captcha inputs are claimed invalid.

Tried debugging the issue.
The stored session data in Middleware/Captcha seemed fine at first look, until I examined the data in CaptchaValidator.
The previously stored data wasn't there during validation. Was looking into the data from the request (frontend.user, frontend.controller) and the data was inconsistent there too.
Idk why the frontend session is acting that weird but i managed to fix it in my case by relying on the frontend.user attribute from the request object in both Middleware/Captcha and CaptchaValidator.

@maikschneider
Copy link
Owner

Hey @yodaXX , thanks for reporting!
Have you tried dev-main, there is the switch to frontend.user (#75)? I haven't released a new version yet.

@yodaXX
Copy link
Author

yodaXX commented Nov 19, 2024

Hi, i only tested it with the latest version available from TER yet, forgot to mention.
I guess the mentioned problem will be fixed in the next release, thank you. 👍

@yodaXX yodaXX closed this as completed Nov 19, 2024
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

2 participants