[Pkg-owncloud-commits] [owncloud] 06/123: adding username as param for isrecoveryenabled

David Prévot taffit at moszumanska.debian.org
Tue May 19 23:55:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 10d7eb56aff51b17bd79a420edb1c541a588eedd
Author: Clark Tomlinson <fallen013 at gmail.com>
Date:   Tue May 5 09:42:53 2015 -0400

    adding username as param for isrecoveryenabled
---
 settings/changepassword/controller.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings/changepassword/controller.php b/settings/changepassword/controller.php
index e6f9289..94323fc 100644
--- a/settings/changepassword/controller.php
+++ b/settings/changepassword/controller.php
@@ -113,7 +113,7 @@ class Controller {
 			$recoveryEnabledForUser = false;
 			if ($recoveryAdminEnabled) {
 				$validRecoveryPassword = $keyManager->checkRecoveryPassword($recoveryPassword);
-				$recoveryEnabledForUser = $recovery->isRecoveryEnabledForUser();
+				$recoveryEnabledForUser = $recovery->isRecoveryEnabledForUser($username);
 			}
 			$l = new \OC_L10n('settings');
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list