Add error state display for invalid credentials on login page
- Capture error from signIn() response (checks for ok: false) - Check for ?error= in URL search params (Auth.js redirects with error on failure) - Display red alert box with error message below the form when auth fails - Clear error on new login attempt Completes task 10.2 in user-accounts change. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
954dd27c88
commit
42a76ed41b
3 changed files with 33 additions and 4 deletions
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue