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

Login Ratelimiting Error: Not defined fieldType property access #10

Open
fragkp opened this issue May 25, 2023 · 0 comments
Open

Login Ratelimiting Error: Not defined fieldType property access #10

fragkp opened this issue May 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@fragkp
Copy link

fragkp commented May 25, 2023

Describe the bug
Hey,
when you trigger a rate limiting error on the login page, the fieldType property is not for building the error is not defined.

See: https://github.com/webbingbrasil/filament-2fa/blob/main/src/Http/Livewire/Auth/Login.php#L53

To Reproduce
Steps to reproduce the behavior:

  1. Go to the login page
  2. Type some random credentials
  3. Smash the sign in button multiple times
  4. See error

Possible fix
Change fieldType to 'error'. Unfortunately, when I tested this localy, Livewire seems to override the error message with validation messages.

@fragkp fragkp added the bug Something isn't working label May 25, 2023
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

No branches or pull requests

1 participant