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

Ensure captcha resets on login attempt #1106

Merged
merged 1 commit into from
Dec 8, 2024
Merged

Conversation

paustint
Copy link
Contributor

@paustint paustint commented Dec 8, 2024

The Captcha reset was not working properly after any failed login/reset attempt - there was an issue with the ref being passed to useImperativeHandle

Added custom messages to auth errors so the authentication login history has more context on where the errors are coming from

resolves #1101

The Captcha reset was not working properly after any failed login/reset attempt - there was an issue with the ref being passed to useImperativeHandle

Added custom messages to auth errors so the authentication login history has more context on where the errors are coming from

resolves #1101
@paustint paustint requested a review from Copilot December 8, 2024 17:50

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 5 changed files in this pull request and generated no suggestions.

Comments skipped due to low confidence (1)

apps/landing/components/auth/Captcha.tsx:17

  • [nitpick] The function name 'onStateChange' is ambiguous. It should be renamed to 'onCaptchaStateChange' for better clarity.
onStateChange: (isFinished: boolean) => void;
@paustint paustint merged commit 9d7ac20 into main Dec 8, 2024
6 checks passed
@paustint paustint deleted the bug/1101-captcha-reset branch December 8, 2024 18:26
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

Successfully merging this pull request may close these issues.

Can't validate reCaptcha if first password entered is incorrect
1 participant