public function onAfterDispatch(AnEvent $event)
    {
        //create viewer object
        $this->_viewer = AnService::get('com:people.viewer');
        
        $this->_logoutIfDisabledAccount();

        if (! $this->_viewer->guest()) {
            return;
        }

        if (AnRequest::method() === 'GET') {
            $this->_handleAutoLogin();
        }

        return;
    }
public function onAfterDispatch(AnEvent $event)
    {
        //create viewer object
        $this->_viewer = AnService::get('com:people.viewer');
        
        $this->_logoutIfDisabledAccount();

        if (! $this->_viewer->guest()) {
            return;
        }

        if (AnRequest::method() === 'GET') {
            $this->_handleAutoLogin();
        }

        return;
    }
public function onAfterDispatch ( AnEvent $ event ) { //create viewer object $ this -> _viewer = AnService :: get ( 'com:people.viewer' ) ; $ this -> _logoutIfDisabledAccount ( ) ; if ( ! $ this -> _viewer -> guest ( ) ) { return ; } if ( AnRequest :: method ( ) === 'GET' ) { $ this -> _handleAutoLogin ( ) ; } return ; }
Remebers handling.
Remebers handling .