Skip to content

Conversation

@tsagadar
Copy link
Collaborator

Display error for invalid login. Also add hints for password managers (caused warning in Chrome console).

Addresses warning in Chrome browser that login inputs should
have autocomplete attribute to aid password managers.

https://www.chromium.org/developers/design-documents/create-amazing-password-forms/
b-rowan
b-rowan previously approved these changes Apr 21, 2025
Copy link
Member

@b-rowan b-rowan left a comment

Choose a reason for hiding this comment

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

LGTM. Only possible comment is maybe we want to use server-side validation from bootstrap directly on the form rather than appending a new element.

https://getbootstrap.com/docs/5.3/forms/validation/#server-side

@tsagadar
Copy link
Collaborator Author

LGTM. Only possible comment is maybe we want to use server-side validation from bootstrap directly on the form rather than appending a new element.

https://getbootstrap.com/docs/5.3/forms/validation/#server-side

With my last force push the screen just shows the server error details without knowing which input is invalid. So a form-wide alert seems preferable IMHO.

@tsagadar tsagadar closed this Apr 21, 2025
@tsagadar tsagadar reopened this Apr 21, 2025
@tsagadar tsagadar merged commit 4960a56 into master Apr 21, 2025
8 checks passed
@tsagadar tsagadar deleted the mm/fixes-for-login-screen branch April 21, 2025 19:49
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.

3 participants