/trunk/jrest/services/Auth.php |
---|
196,7 → 196,7 |
// vérification login / password |
$acces = $this->verifierAcces($login, $password); |
if ($acces === false) { |
$this->erreur("authentication failed"); |
$this->erreur("authentication failed", 401); |
} |
// infos utilisateur |
$util = new Utilisateur($this->config); |