In this episode, we tackle adding a verification notice for users who need to confirm their email before accessing certain parts of the app. We walk through moving the email verification view into a modal, so users get a nice user interface prompt right when they need it.
We'll update our Fortify service provider, set up the needed routes, and create a dedicated modal (or view—your choice!) for verifying emails. Most of the process is similar to things we've done before, so you'll see a lot of copy-pasting and tweaking from our confirm password modal. We also make sure this new route is only set up if the right features are enabled.
You'll see how to add instructions and a "resend email" button (though wiring up the actual resend action comes in the next episode). By the end, clicking on the dashboard brings up our verify email modal, complete with guidance for the user. All that's left is hooking up the resend functionality, which is what's coming up next!