Classes/Hook/LogoffFrontendUser.php
public function logoff($parameters, AbstractUserAuthentication $parentObject)
    {
        $service = GeneralUtility::makeInstance(CookieService::class);
        if (('FE' === $parentObject->loginType || 'BE' === $parentObject->loginType) && true === $parentObject->newSessionID) {
            $service->setCookie(\time() + 3600);
        } else {
            $service->setCookie(\time() - 3600);
        }
    }
public function logoff($parameters, AbstractUserAuthentication $parentObject)
    {
        $service = GeneralUtility::makeInstance(CookieService::class);
        if (('FE' === $parentObject->loginType || 'BE' === $parentObject->loginType) && true === $parentObject->newSessionID) {
            $service->setCookie(\time() + 3600);
        } else {
            $service->setCookie(\time() - 3600);
        }
    }
public function logoff ( $ parameters , AbstractUserAuthentication $ parentObject ) { $ service = GeneralUtility :: makeInstance ( CookieService :: class ) ; if ( ( 'FE' === $ parentObject -> loginType || 'BE' === $ parentObject -> loginType ) && true === $ parentObject -> newSessionID ) { $ service -> setCookie ( \ time ( ) + 3600 ) ; } else { $ service -> setCookie ( \ time ( ) - 3600 ) ; } }
Logoff process.

@param array                      $parameters
@param AbstractUserAuthentication $parentObject
Logoff process .