src/Adapter/ActivePageEntityPreparator.php
private function setLoginsTracking()
    {
        $currentView = Registry::getConfig()->getActiveView();
        $functionName = $currentView->getFncName();
        if ('login_noredirect' == $functionName) {
            $this->activePageEntity->setLoginUserId($this->activeUserDataProvider->getActiveUserHashedId());
            $this->activePageEntity->setLoginResult($this->activeUserDataProvider->isLoaded() ? '0' : '1');
        }
    }
private function setLoginsTracking()
    {
        $currentView = Registry::getConfig()->getActiveView();
        $functionName = $currentView->getFncName();
        if ('login_noredirect' == $functionName) {
            $this->activePageEntity->setLoginUserId($this->activeUserDataProvider->getActiveUserHashedId());
            $this->activePageEntity->setLoginResult($this->activeUserDataProvider->isLoaded() ? '0' : '1');
        }
    }
Sets login event for tracking.