From: Stéphane Jacob Date: Mon, 12 Sep 2011 12:43:29 +0000 (+0200) Subject: Do not display same error message twice. X-Git-Tag: xorg/1.1.4~178 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ff9e2d12d4253481dbae7ae92735a354276674a4;p=platal.git Do not display same error message twice. Signed-off-by: Stéphane Jacob --- diff --git a/classes/xorgsession.php b/classes/xorgsession.php index 84128af..73bdb9f 100644 --- a/classes/xorgsession.php +++ b/classes/xorgsession.php @@ -138,8 +138,6 @@ class XorgSession extends PlSession $user = User::getSilent($login); - $success = $this->checkPassword($login, $user, Post::v('response')); - if (!is_null($user) && S::suid()) { $success = (S::suid('uid') == $user->id()); } else {