Fixed resend verification not passing in local variable to template