Skip to content

feat(auth): prettier login failure page - #665

Merged
C4illin merged 3 commits into
C4illin:mainfrom
JustinShetty:feat/prettier-invalid-credentials
Oct 6, 2026
Merged

C4illin merged 3 commits into
C4illin:mainfrom
JustinShetty:feat/prettier-invalid-credentials

Conversation

@JustinShetty

@JustinShetty JustinShetty commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Refactor login and account pages as functions with optional error parameters
  • Replace raw JSON { message: "Invalid credentials." } responses on failed login/account updates with the existing form UI plus an error banner
  • Keep the submitted email filled in so users can retry without retyping
  • Apply the same HTML error treatment for account email-already-in-use conflicts

Demo

before

image

after

image

@JustinShetty
JustinShetty marked this pull request as ready for review October 4, 2026 22:36
@JustinShetty JustinShetty changed the title feat(auth): show styled error on invalid credentials feat(auth): prettier login failure page Oct 4, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread src/pages/user.tsx Outdated
Comment thread src/pages/user.tsx

@C4illin C4illin left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Very nice!

@C4illin
C4illin merged commit 3f69a7a into C4illin:main Oct 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants