adding username as param for isrecoveryenabled

This commit is contained in:
Clark Tomlinson 2015-05-05 09:42:53 -04:00
parent 3ef2e668ac
commit 10d7eb56af

View file

@ -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');