Skip to content
Snippets Groups Projects
Commit d3ce2cac authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

OC_User: handle success properly

parent 3f9ac640
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment