TLDR; Basically you have to implement a button in Vue that when click redirects to a page that collects the users email and checks they exist. Then you generate a (time-sensitive?) code you send them by email. That email redirects to a third page which collects and error sniffs the new password. If it checks out, the password is changed or an error is thrown.
Within an a2 project, the password reset code is primarily in node_modules/apostrophe/lib/modules/apostrophe-login
.
There is code in the index.js
file, plus several HTML pages in the views
folder of that folder.
The passwordResetRequest.html
file is a form for requesting a password change.