[@Jason Cheung] Mike’s proposal should work BUT the user cannot be logged in. (Sounds obvious but this means that you cannot test it in preview mode because you are always logged in in preview mode :-)). So while it may sound redundant it’s worthwhile testing
if (!wixUsers.currentUser.loggedIn) {
wixUsers.promptForgotPassword();
}
Just to be sure. Also currently the only way a User can reset their password is to use promptForgotPassword(). So if you wanted to offer a change password capability you would ned to log the user out, promptChangePassword() and let them update the password before logging back in.