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