Avoid "auto login" when password is reset
Ok, I (finnaly) found a way.
I overrided the function called "resetPassword" and deleted the login piece of code.
This function comes from the framework (can't remember the file, if someone could help on that :S ) I overrided the function in my ResetPasswordController.php
protected function resetPassword($user, $password)
{
$user->forceFill([
'password' => bcrypt($password),
'remember_token' => Str::random(60),
])->save();
//$this->guard()->login($user);
}
This make my password changing and redirect automaticaly to the main page.
Edit: Oh, and don't forget to add this in your includes:
use Illuminate\Support\Str;