diff options
author | Clark Tomlinson <fallen013@gmail.com> | 2015-05-05 09:42:53 -0400 |
---|---|---|
committer | Clark Tomlinson <fallen013@gmail.com> | 2015-05-05 09:42:53 -0400 |
commit | 10d7eb56aff51b17bd79a420edb1c541a588eedd (patch) | |
tree | 800ba2eb5be76676bebc7ac70a6bd71a0828899b /settings | |
parent | 3ef2e668ac9274d72ea4afb73b708d7b2c88f0d7 (diff) | |
download | nextcloud-server-10d7eb56aff51b17bd79a420edb1c541a588eedd.tar.gz nextcloud-server-10d7eb56aff51b17bd79a420edb1c541a588eedd.zip |
adding username as param for isrecoveryenabled
Diffstat (limited to 'settings')
-rw-r--r-- | settings/changepassword/controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/changepassword/controller.php b/settings/changepassword/controller.php index e6f928930e9..94323fc2fcc 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'); |