summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-01 14:40:56 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-01 14:40:56 +0200
commitd3ce2cacd6461ca7551b0faec2b0ee425bbbc51f (patch)
tree3965150870958bb4d7857cc01124d73ecadbc5d0 /lib/user.php
parent3f9ac6405a4823349e30be1f9d874ce813ae53f0 (diff)
downloadnextcloud-server-d3ce2cacd6461ca7551b0faec2b0ee425bbbc51f.tar.gz
nextcloud-server-d3ce2cacd6461ca7551b0faec2b0ee425bbbc51f.zip
OC_User: handle success properly
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php
index 75a63b76c1c..57ddb9e511b 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -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);
}
}
}