--- action: 'shop:passwordRestore' description: 'Displays the password restore form.' template: inner protocol: all published: true name: 'Password Restore' url: '/password-restore/:hash!' ---
{% if (hash) and not (invalidHash) %} {{ open_form({'data-ajax-handler': 'shop:passwordRestore', 'data-ajax-redirect' : '/login', 'data-validation-message' : ''}) }}

Please enter a new password for your account below and confirm the change.

{% else %} {{ open_form({'data-ajax-handler': 'shop:passwordRestore', 'data-ajax-update' : '#passwordRestoreRequestForm=shop-passwordrestorerequest', 'data-validation-message' : ''}) }}
{{ partial('shop-passwordrestorerequest') }}
{% endif %}