The first thing that needs to be done when editing anything is to retrieve all editable information from the database.
The easiest way to accomplish this is to copy the action 'remove member', which we created below, and make the highlighted changes on the right.
Notice that the action type of 'getNewPasswordForm' is 'form'. We need the user to input the new password via a form. The form is created with the 'CDATA' tag, as shown on the right. The variable, 'PASSWORD_1' is assigned that new password from the form.
We also need to hash the new password. Therefore, in the followOnAction, we specify the action, 'hash', and pass in 'PASSWORD_1' to the action
Once the password has been successfully hashed, we assign it to 'PASSWORD_2'