summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-01-30 12:10:10 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-01-30 16:08:08 +0100
commit0e6cb988a1cb6e0bc94053816ebb7bdc66e871af (patch)
treea7abf657c978cb6faedc918e41d3b6b8e64c26b6 /apps/twofactor_backupcodes/lib
parent49ae3a3daa3ea479902386792b34359cbc8a8fdf (diff)
downloadnextcloud-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.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();
}