566,7 → 566,7 |
if (!isset($id)) { |
$this->envoyerAuth($message_accueil, $message_echec); |
} else { |
$autorisation = $this->etreCoordinateurAutorise($id); |
$autorisation = $this->etreCoordinateurAutorise(); |
if ($autorisation == false) { |
$this->envoyerAuth($message_accueil, $message_echec); |
} |
575,6 → 575,7 |
} |
|
public function etreCoordinateurAutorise($identifiant) { |
$identifiant = $this->getAuthIdentifiant(); |
$mdp = md5($this->getAuthMotDePasse()); |
$url = sprintf(Config::get('authentification.serviceUrlTpl'), $identifiant, $mdp); |
$json = $this->getRestClient()->envoyerRequeteConsultation($url); |