adding username as param for isrecoveryenabled
This commit is contained in:
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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue