I’m getting an annoyingly vague Internal server error in my meteor Accounts.forgotPassword callback. I have accounts-base installed and I know my SMTP settings (defined on the server in Meteor.startup) are fine because I can call Email.send successfully.
Here’s the code. It’s pretty generic, so I’m not at all sure what could be going wrong. Any thoughts?
var options = {};
options.email = "my@email.address";
Accounts.forgotPassword(options, function(err){
if (err) {
console.log("error: "+err.reason);
} else {
console.log("Success!");
}
});