Fix: password changing by admin

This commit is contained in:
Bartek Fabiszewski 2017-09-19 08:21:48 +02:00
parent e0596395a0
commit aabe323cb2

View File

@ -35,7 +35,7 @@
if ($auth->isAdmin() && !empty($login)) {
// different user, only admin
$passUser = new uUser($login);
if (!$passUser->valid) {
if (!$passUser->isValid) {
uUtils::exitWithError("User unknown");
}
} else {