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

[Bug]: Turnstile should be refreshed after submit #10

Closed
billmn opened this issue Mar 20, 2024 · 1 comment · Fixed by #12
Closed

[Bug]: Turnstile should be refreshed after submit #10

billmn opened this issue Mar 20, 2024 · 1 comment · Fixed by #12
Labels
bug Something isn't working

Comments

@billmn
Copy link
Contributor

billmn commented Mar 20, 2024

What happened?

After a submit with a validation error (e.g. incorrect credentials during login), Turnstile was not updated and this prevents login as the next submit.

This because "cf-turnstile-response" is no longer valid.

How to reproduce the bug

  1. Add Turnstile to a login form
  2. Try to login with invalid credentials
  3. Insert valid credentials and try to login again (without refresh the page)

Package Version

2.0.3

PHP Version

8.2.11

Laravel Version

10.48.2

Which operating systems does with happen with?

macOS

Notes

No response

@billmn billmn added the bug Something isn't working label Mar 20, 2024
@ousid
Copy link
Member

ousid commented Mar 30, 2024

Yes, this issue is duplicated (coderflexx/laravel-turnstile#5), and I'm working on a fix for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants