source/Application/Model/User.php
protected function _getDemoShopLoginQuery($sUser, $sPassword)
    {
        if ($sPassword == "admin" && $sUser == "admin") {
            $sSelect = "SELECT `oxid` FROM `oxuser` WHERE `oxrights` = 'malladmin' ";
        } else {
            /** @var UserException $oEx */
            $oEx = oxNew(UserException::class);
            $oEx->setMessage('ERROR_MESSAGE_USER_NOVALIDLOGIN');
            throw $oEx;
        }

        return $sSelect;
    }
protected function _getDemoShopLoginQuery($sUser, $sPassword)
    {
        if ($sPassword == "admin" && $sUser == "admin") {
            $sSelect = "SELECT `oxid` FROM `oxuser` WHERE `oxrights` = 'malladmin' ";
        } else {
            /** @var UserException $oEx */
            $oEx = oxNew(UserException::class);
            $oEx->setMessage('ERROR_MESSAGE_USER_NOVALIDLOGIN');
            throw $oEx;
        }

        return $sSelect;
    }
protected function _getDemoShopLoginQuery ( $ sUser , $ sPassword ) { if ( $ sPassword == "admin" && $ sUser == "admin" ) { $ sSelect = "SELECT `oxid` FROM `oxuser` WHERE `oxrights` = 'malladmin' " ; } else { /** @var UserException $oEx */ $ oEx = oxNew ( UserException :: class ) ; $ oEx -> setMessage ( 'ERROR_MESSAGE_USER_NOVALIDLOGIN' ) ; throw $ oEx ; } return $ sSelect ; }
Return sql to get id of mall admin in demo shop

@param string $sUser     User name
@param string $sPassword User password

@throws object $oEx

@return string
Return sql to get id of mall admin in demo shop