Delivered

System page reset-password-result

Add a new system page — reset-password-result. After resetting the password, the user is redirected to this page from the reset-password page. This page also contains the formSubmissionData object, which, if there are errors, includes a list of errors that are displayed.


Added 'this.formSubmissionData' liquid object with the following structure:

{  

"form_alias": "reset-password",  

"error": 0,  

"errormessages": [],  

"formtype": "System"

}

'formtype' is always 'System'

'form_alias' is always 'reset-password'

'error' and 'errormessages' should be set based on errors that occurred during the reset-password flow.
On success - set 'error' to 0