aboutsummaryrefslogtreecommitdiffstats
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 b742f606c61..6d60f589e52 100644
--- a/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php
+++ b/apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php
@@ -143,7 +143,7 @@ class BackupCodesProvider implements IProvider, IProvidesPersonalSettings {
* @return boolean
*/
public function isActive(IUser $user): bool {
- $appIds = array_filter($this->appManager->getEnabledAppsForUser($user), function($appId) {
+ $appIds = array_filter($this->appManager->getEnabledAppsForUser($user), function ($appId) {
return $appId !== $this->appName;
});
foreach ($appIds as $appId) {