mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Reverted fix temporarily; another fix by LukasReschke is awaiting merge
This commit is contained in:
parent
faf6cb0868
commit
2c22619a18
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,9 @@ if(OC_User::getUser() === $username) {
|
|||
if (OC_User::checkPassword($username, $oldPassword)) {
|
||||
$userstatus = 'user';
|
||||
} else {
|
||||
$userstatus = null;
|
||||
if (!OC_Util::isUserVerified()) {
|
||||
$userstatus = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue