Explorar o código

another bug fix

Mariusz Muszyński %!s(int64=8) %!d(string=hai) anos
pai
achega
2d5d04386b
Modificáronse 1 ficheiros con 1 adicións e 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");
 		}