Removed call to depreciated isUserVerified()
This commit is contained in:
parent
a3289d3991
commit
a8c0e3612c
|
@ -19,9 +19,7 @@ if(OC_User::getUser() === $username) {
|
||||||
if (OC_User::checkPassword($username, $oldPassword)) {
|
if (OC_User::checkPassword($username, $oldPassword)) {
|
||||||
$userstatus = 'user';
|
$userstatus = 'user';
|
||||||
} else {
|
} else {
|
||||||
if (!OC_Util::isUserVerified()) {
|
$userstatus = null;
|
||||||
$userstatus = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue