Hello all,
I wanted to implement requiring email verification for users. I’ve read the documentation and created a post-login action that has the following code:
exports.onExecutePostLogin = async (event, api) => {
if (!event.user.email_verified) {
api.access.deny('Please verify your email before logging in.');
}
};
The problem is that nowhere does the user see the message when they try to login (as the demos show) without verifying email.
Using React front-end with .net core back.
Thank you!