public function saveUserForResetPassword(BaseUser $user)
    {
        $user->setForgetPasswordToken(null)
            ->setForgetPasswordExpired(null);

        $this->saveUserWithPlainPassword($user);
    }
public function saveUserForResetPassword(BaseUser $user)
    {
        $user->setForgetPasswordToken(null)
            ->setForgetPasswordExpired(null);

        $this->saveUserWithPlainPassword($user);
    }
public function saveUserForResetPassword ( BaseUser $ user ) { $ user -> setForgetPasswordToken ( null ) -> setForgetPasswordExpired ( null ) ; $ this -> saveUserWithPlainPassword ( $ user ) ; }
Makes sure the forget password token and forget password token expiration time are set to null

@param BaseUser $user
Makes sure the forget password token and forget password token expiration time are set to null