public function canLoginHere()
    {
        if (! $this->_hasVar('can_login_here')) {
            $this->_setVar('can_login_here', true);
            if ($orgId = $this->userLoader->getOrganizationIdByUrl()) {
                if (! $this->isAllowedOrganization($orgId)) {
                    $this->_setVar('can_login_here', false);;
                }
            }
        }
        return $this->_getVar('can_login_here');
    }
public function canLoginHere()
    {
        if (! $this->_hasVar('can_login_here')) {
            $this->_setVar('can_login_here', true);
            if ($orgId = $this->userLoader->getOrganizationIdByUrl()) {
                if (! $this->isAllowedOrganization($orgId)) {
                    $this->_setVar('can_login_here', false);;
                }
            }
        }
        return $this->_getVar('can_login_here');
    }
public function canLoginHere ( ) { if ( ! $ this -> _hasVar ( 'can_login_here' ) ) { $ this -> _setVar ( 'can_login_here' , true ) ; if ( $ orgId = $ this -> userLoader -> getOrganizationIdByUrl ( ) ) { if ( ! $ this -> isAllowedOrganization ( $ orgId ) ) { $ this -> _setVar ( 'can_login_here' , false ) ; ; } } } return $ this -> _getVar ( 'can_login_here' ) ; }
True when the current url is one where this user is allowed to login.

If the url is a fixed organization url and the user is not allowed to
access this organization, then this function returns false.

@return boolean
True when the current url is one where this user is allowed to login .