diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-01-30 12:10:10 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-01-30 16:08:08 +0100 |
commit | 0e6cb988a1cb6e0bc94053816ebb7bdc66e871af (patch) | |
tree | a7abf657c978cb6faedc918e41d3b6b8e64c26b6 /apps/twofactor_backupcodes/lib | |
parent | 49ae3a3daa3ea479902386792b34359cbc8a8fdf (diff) | |
download | nextcloud-server-0e6cb988a1cb6e0bc94053816ebb7bdc66e871af.tar.gz nextcloud-server-0e6cb988a1cb6e0bc94053816ebb7bdc66e871af.zip |
Add a key parameter to the new initial state API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/twofactor_backupcodes/lib')
-rw-r--r-- | apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php | 2 |
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(); } |