From d3ce2cacd6461ca7551b0faec2b0ee425bbbc51f Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 1 May 2012 14:40:56 +0200 Subject: OC_User: handle success properly --- lib/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/user.php') 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); } } } -- cgit v1.2.3