/**
  * Reset the given user's password.
  *
  * @param  \Illuminate\Contracts\Auth\CanResetPassword  $user
  * @param  string  $password
  * @return void
  */
 protected function resetPassword($user, $password)
 {
     // Do not crypt the password here, the User model does it.
     $user->password = $password;
     $user->save();
     $user->emailPasswordChange();
     Auth::login($user);
 }