Explorar el Código

another bug fix

Mariusz Muszyński hace 8 años
padre
commit
2d5d04386b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SE/se-lib/User.php

+ 1 - 1
SE/se-lib/User.php

@@ -631,7 +631,7 @@ class User {
 		if (!self::logged()) throw new Exception("Użytkownik niezalogwany");
 
 		try {
-			if (!($user = self::loginByDB())) return false;
+			if (!($user = self::loginByDB(self::getLogin(), $oldPass))) return false;
 		} catch (Exception $e) {
 			throw new Exception("Błędne hasło");
 		}