Fix: password changing by admin
This commit is contained in:
parent
e0596395a0
commit
aabe323cb2
@ -35,7 +35,7 @@
|
|||||||
if ($auth->isAdmin() && !empty($login)) {
|
if ($auth->isAdmin() && !empty($login)) {
|
||||||
// different user, only admin
|
// different user, only admin
|
||||||
$passUser = new uUser($login);
|
$passUser = new uUser($login);
|
||||||
if (!$passUser->valid) {
|
if (!$passUser->isValid) {
|
||||||
uUtils::exitWithError("User unknown");
|
uUtils::exitWithError("User unknown");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user