The login component is an authentication form for users of an application#1058
Merged
lovasoa merged 17 commits intosqlpage:mainfrom Oct 27, 2025
Merged
The login component is an authentication form for users of an application#1058lovasoa merged 17 commits intosqlpage:mainfrom
lovasoa merged 17 commits intosqlpage:mainfrom
Conversation
lovasoa
requested changes
Oct 21, 2025
Collaborator
lovasoa
left a comment
There was a problem hiding this comment.
Thanks ! I'm ready to merge this new component, but I think we need to make a few changes first.
- Updated SQL queries in `create_session_token.sql` and `login.sql` to use consistent parameter naming conventions. - Enhanced the login form in `login.sql` to include an error message for failed login attempts. - Added a new parameter `error_message` in the migration file for better user feedback. - Modified the Handlebars template to display the error message when applicable, improving user experience during authentication.
Add complete example with database schema, credential processing, and page protection. Update authentication migration to reference new login component. Enhance login template with default icons and autocomplete attributes. Make validate parameter optional with sensible default.
…e and improved docs
Collaborator
|
Thanks @olivierauverlot ! This ships in v0.39 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It allows the entry of a user account consisting of a username and a password.
It offers additional features such as the ability to request session persistence or to reset the password.