Skip to content

fix(auth): clarify login identifier field - #3004

Open
lntutor wants to merge 4 commits into
Chainlit:mainfrom
lntutor:fix/login-label-username-or-email
Open

fix(auth): clarify login identifier field#3004
lntutor wants to merge 4 commits into
Chainlit:mainfrom
lntutor:fix/login-label-username-or-email

Conversation

@lntutor

@lntutor lntutor commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary by cubic

Clarified the login identifier by changing the field from “Email address” to “Username or email” and submitting it as username. This removes confusion for users who sign in with a username.

  • Bug Fixes
    • Updated i18n: label, placeholder, and required message to “Username or email”.
    • Renamed form field emailusername; added autocomplete="username"; validation errors now show on submit.
    • Password login now posts username to the API.
    • Tests: added unit tests; updated Cypress and data layer selectors to username.

Written for commit b656b28. Summary will update on new commits.

Review in cubic

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. auth Pertaining to authentication. frontend Pertains to the frontend. translation Translation or localisation of strings. unit-tests Has unit tests. labels Jul 31, 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 4 files

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

Re-trigger cubic

Comment thread frontend/tests/LoginForm.spec.tsx
Comment thread frontend/tests/LoginForm.spec.tsx
lntutor and others added 2 commits July 31, 2026 20:38
Co-Authored-By: Codex <codex@openai.com>
Co-Authored-By: OpenAI Codex <noreply@openai.com>
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Jul 31, 2026
Co-Authored-By: OpenAI Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auth Pertaining to authentication. frontend Pertains to the frontend. size:M This PR changes 30-99 lines, ignoring generated files. translation Translation or localisation of strings. unit-tests Has unit tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant