Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1251 → Rev 1252

/trunk/services/modules/0.1/utilisateurs/Connecter.php
104,11 → 104,11
}
function utilisateurEstIdentifieSession() {
return (isset($_SESSION["del_user"]) && isset($_SESSION["del_user"]["courriel"])) ? $_SESSION["del_user"]["courriel"] : false;
return (isset($_SESSION["del_courriel"]) && isset($_SESSION["del_courriel"])) ? $_SESSION["del_courriel"] : false;
}
function utilisateurEstIdentifieCookie() {
return isset($_COOKIE["del_name"]) && ($this->identifierUtilisateurSansEncryptionMotDePasse($_COOKIE["del_name"], $_COOKIE["del_password"])) ? $_COOKIE["del_name"] : false;
return isset($_COOKIE["del_courriel"]) && ($this->identifierUtilisateurSansEncryptionMotDePasse($_COOKIE["del_name"], $_COOKIE["del_password"])) ? $_COOKIE["del_name"] : false;
}
}
?>