I'm using Laravel Fortify for the auth of my project. After a user has registered, it should be redirected to a page telling it that a mail have been sent - however, it redirects to /.
As per the docs I have done the following:
- My
Usermodel implementsMustVerifyEmail. - I've created the view I want to show (
views/auth/verify-email.blade.php). - I've got the following lines in the
bootmethod ofFortifyServiceProvider:
Fortify::verifyEmailView(function () {
return view('auth.verify-email');
});
However, after the user registers it is redirected to / and not the view I specified!
Help appreciated.