mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
OC_User: handle success properly
This commit is contained in:
@@ -283,7 +283,7 @@ class OC_User {
|
||||
foreach(self::$_usedBackends as $backend){
|
||||
if($backend->implementsActions(OC_USER_BACKEND_SET_PASSWORD)){
|
||||
if($backend->userExists($uid)){
|
||||
$success = $backend->setPassword($uid,$password);
|
||||
$success |= $backend->setPassword($uid,$password);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user