You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m working with the Login plugin and want to enhance the profile and password reset pages by adding a second password field (e.g., confirm_password) to ensure the user correctly confirms their password.
Specifically, I’d like to:
Add a confirm_password field to the respective forms.
Validate that confirm_password matches the password field before processing the form submission.
Display an error message if the fields do not match.
What is the best way to achieve this? Should I use custom frontmatter for these pages or extend the plugin's functionality? Are there hooks or methods within the Login plugin that can help me perform this validation?
Any guidance, examples, or best practices would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,
I’m working with the Login plugin and want to enhance the profile and password reset pages by adding a second password field (e.g.,
confirm_password
) to ensure the user correctly confirms their password.Specifically, I’d like to:
What is the best way to achieve this? Should I use custom frontmatter for these pages or extend the plugin's functionality? Are there hooks or methods within the Login plugin that can help me perform this validation?
Any guidance, examples, or best practices would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: