- Currently I have this code in my flow
exports.onExecutePostLogin = async (event, api) => {
if (!event.user.email_verified) {
api.access.deny(`Please verify your email before logging in.`);
}
};
I notice that when someone tries to signup, it redirects the user to
http://exaample.com/?error=access_denied&error_description=Please%20verify%20your%20email%20before%20logging%20in
However with vuejs spa, the page keeps refreshing. How can I fix this and display a ‘verify email page’ ?
- Does the verification email still send in production with the free subscription model ? and what do you need email providers for?