source/Application/Model/User.php
protected function _dbLogin(string $userName, $password, $shopID)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $userId = $database->getOne($this->_getLoginQuery($userName, $password, $shopID, $this->isAdmin()));
        if (!$userId) {
            $userId = $database->getOne($this->_getLoginQueryHashedWithMD5($userName, $password, $shopID, $this->isAdmin()));
        }

        /** Return here to give other log-in mechanisms the possibility to be triggered */
        if (!$userId) {
            return;
        }

        $this->loadAuthenticatedUser($userName, $shopID);
        $this->isOutdatedPasswordHashAlgorithmUsed = true;
    }
protected function _dbLogin(string $userName, $password, $shopID)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $userId = $database->getOne($this->_getLoginQuery($userName, $password, $shopID, $this->isAdmin()));
        if (!$userId) {
            $userId = $database->getOne($this->_getLoginQueryHashedWithMD5($userName, $password, $shopID, $this->isAdmin()));
        }

        /** Return here to give other log-in mechanisms the possibility to be triggered */
        if (!$userId) {
            return;
        }

        $this->loadAuthenticatedUser($userName, $shopID);
        $this->isOutdatedPasswordHashAlgorithmUsed = true;
    }
protected function _dbLogin ( string $ userName , $ password , $ shopID ) { $ database = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ userId = $ database -> getOne ( $ this -> _getLoginQuery ( $ userName , $ password , $ shopID , $ this -> isAdmin ( ) ) ) ; if ( ! $ userId ) { $ userId = $ database -> getOne ( $ this -> _getLoginQueryHashedWithMD5 ( $ userName , $ password , $ shopID , $ this -> isAdmin ( ) ) ) ; } /** Return here to give other log-in mechanisms the possibility to be triggered */ if ( ! $ userId ) { return ; } $ this -> loadAuthenticatedUser ( $ userName , $ shopID ) ; $ this -> isOutdatedPasswordHashAlgorithmUsed = true ; }
Initiates user login against data in DB.

@param string $userName User
@param string $password Password
@param string $shopID   Shop id

@throws UserException

@deprecated since v6.4.0 (2019-03-15); This method will be removed completely. Verify the password directly
against the password hash

@return void
Initiates user login against data in DB .