meteor-useraccounts/bootstrap

Forgot password link?

Closed this issue · 1 comments

Is there a forgot password link in this package? I can't seem to find one.

Edit: It looks like this line contains a reference to a boolean toggle to render the link, but I can't seem to find where this is set.

Did some forensics and found this line in the core package:

return state === "signIn" && AccountsTemplates.options.showForgotPasswordLink;

This implied to me that I could do this in my app:

AccountsTemplates.options.showForgotPasswordLink = true;

which, surprisingly, worked! Maybe the docs should be updated somewhere...