Do not display same error message twice.
authorStéphane Jacob <sj@m4x.org>
Mon, 12 Sep 2011 12:43:29 +0000 (14:43 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 12 Sep 2011 12:44:08 +0000 (14:44 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/xorgsession.php

index 84128af..73bdb9f 100644 (file)
@@ -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 {