Page keeps refreshing when email verification is pending with vuejs front end

  1. 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

However with vuejs spa, the page keeps refreshing. How can I fix this and display a ‘verify email page’ ?

  1. Does the verification email still send in production with the free subscription model ? and what do you need email providers for?