You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "You are registered" message is coming from the LocalAuthWebHandlers.registerPost() function. This function does check for errors, but fails to detect that the email couldn't be sent.
Solution
Modify the Account.register() function so it checks of the return value from the Utility.sendMail() function.
Modify the Utility. sendMail() catch block, so it doesn't discards the smtp errors. Perhaps use the smtp code from the mysql repo.
The text was updated successfully, but these errors were encountered:
When trying to register a new user, then I'm getting this error in the console:
The
"You are registered"
message is coming from the LocalAuthWebHandlers.registerPost() function. This function does check for errors, but fails to detect that the email couldn't be sent.Solution
Modify the Account.register() function so it checks of the return value from the
Utility.sendMail()
function.Modify the Utility. sendMail() catch block, so it doesn't discards the smtp errors. Perhaps use the smtp code from the mysql repo.
The text was updated successfully, but these errors were encountered: