Subversion Repositories Applications.annuaire

Rev

Rev 547 | Rev 551 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 547 Rev 549
Line 194... Line 194...
194
			$this->erreur("parameters <login> and <password> required");
194
			$this->erreur("parameters <login> and <password> required");
195
		}
195
		}
196
		// vérification login / password
196
		// vérification login / password
197
		$acces = $this->verifierAcces($login, $password);
197
		$acces = $this->verifierAcces($login, $password);
198
		if ($acces === false) {
198
		if ($acces === false) {
-
 
199
			$this->detruireCookie();
199
			$this->erreur("authentication failed", 401);
200
			$this->erreur("authentication failed", 401);
200
		}
201
		}
201
		// infos utilisateur
202
		// infos utilisateur
202
		$util = new Utilisateur($this->config);
203
		$util = new Utilisateur($this->config);
203
		$infos = $util->getIdentiteParCourriel($login);
204
		$infos = $util->getIdentiteParCourriel($login);