public function verifyCredentials($sIdentifier, $sPassword)
    {
        //  Look up the user, how we do so depends on the login mode that the app is using
        $oUserModel     = Factory::model('User', 'nails/module-auth');
        $oPasswordModel = Factory::model('UserPassword', 'nails/module-auth');
        $oUser          = $oUserModel->getByIdentifier($sIdentifier);

        return !empty($oUser) ? $oPasswordModel->isCorrect($oUser->id, $sPassword) : false;
    }