Howdy all, sorry for the noobish problem, but my very simple accounts-password/accounts-ui does not appear to be even trying to send emails. The email package is installed, my MAIL_URL env variable is correctly set, and I am able to manually send emails just fine.
But when I create a user/pass via accounts-ui, I get no email. I can’t find any documentation on exactly what’s supposed to happen, though, so I’m not sure if something else has to be done?
I have email verification links working now. Not sure I did it properly, but here it is …
Add the following to /server/main.js
At the top
import { Accounts } from ‘meteor/accounts-base’;
Inside Meteor.startup
Accounts.config({sendVerificationEmail: true,});
=================
So right now, I have accounts-password and accounts-ui. When someone creates an account, they are immediately logged in and they get an email verification link.
How do I prevent them from logging in until they verify their email?