I have a Laravel project based on https://laravel-boilerplate.com/ where a superuser can create other users, therefore after account creation an email is sent to the user for verification. The idea is to redirect to the "reset password" screen so that newly registered users can enter their password. I believe the redirection is done in VerifiesEmails.php however :
- the email verification requires the user to be logged in.
- VerifiesEmails.php is kept in vendors/../Illuminate/Foundation/Auth.. and I don't want to start messing up with files in vendors folder.
What is a good way of achieving redirection to password reset after email validation ? (users not being logged in yet)