OC_User: handle success properly
This commit is contained in:
parent
3f9ac6405a
commit
d3ce2cacd6
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue