josiasmontag / laravel-email-verification

Laravel package to handle user verification using an activation mail

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Route register/verify/resend not working

antonzapevalov opened this issue · comments

Route register/verify/resend redirects not verified user to /home page.

It actually uses the default Laravel behaviour of the RegisterController.
See here how to customize it: https://laravel.com/docs/5.5/authentication#included-authenticating

Probably you need to add to the readme.md information about that need to add the showResendVerificationEmailForm method to the RegisterController.php???

This method is part of the VerifiesEmail trait and the README tells to add it to the RegisterController.

And why then happens a redirect?

The form is only shown if you are not verified. Most probably your account is already verified.

Any ideas?

@josiasmontag What do you think?