Reverted fix temporarily; another fix by LukasReschke is awaiting merge
This commit is contained in:
parent
faf6cb0868
commit
2c22619a18
|
@ -22,8 +22,10 @@ if(OC_User::getUser() === $username) {
|
|||
if (OC_User::checkPassword($username, $oldPassword)) {
|
||||
$userstatus = 'user';
|
||||
} else {
|
||||
if (!OC_Util::isUserVerified()) {
|
||||
$userstatus = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(is_null($userstatus)) {
|
||||
|
|
Loading…
Reference in New Issue