adding username as param for isrecoveryenabled

remotes/origin/poc-doctrine-migrations
Clark Tomlinson 2015-05-05 09:42:53 +07:00
parent 3ef2e668ac
commit 10d7eb56af
1 changed files with 1 additions and 1 deletions

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