Password Reset Integration
Customers will need a way to reset their password. The login snippet provides functionality to enter a new password after clicking a reset password link that will be delivered via email. Let Mariana know where you placed this snippet so that we can place the correct link in the password reset email!
We highly recommend making the URL for this page /reset
. This page is required to integrate Mariana's password reset functionality into your site. This page's only purpose will be to serve as a destination for reseting your a customer's password.
When setting up password reset, change the URL to redirect the user to a specific page after a reset occurs. In this example, we use the Login page.
Example Snippet
<!-- change the attribute value to point the redirect to a preferred page -->
<div class="mariana-customer-reset-password-binding"
data-mariana-reset-redirect-url="/login/"
></div>
Live Example
If you would like to check out a live example, head over to https://mariana-integrations-demo.herokuapp.com/default/reset/
Parameters
data-mariana-reset-redirect-url
: Where to redirect the customer after successfully resetting their password.