summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php')
-rw-r--r--apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php b/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php
index 8910665f321..81f9a836c12 100644
--- a/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php
+++ b/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php
@@ -157,7 +157,7 @@ class BackupCodesProvider implements IProvider, IProvidesPersonalSettings {
*/
public function getPersonalSettings(IUser $user): IPersonalProviderSettings {
$state = $this->storage->getBackupCodesState($user);
- $this->initialStateService->provideInitialState($this->appName, $state);
+ $this->initialStateService->provideInitialState($this->appName, 'state', $state);
return new Personal();
}