diff --git a/lib/private/Authentication/TwoFactorAuth/Manager.php b/lib/private/Authentication/TwoFactorAuth/Manager.php index 0837ec339a5e3..87fa922a37077 100644 --- a/lib/private/Authentication/TwoFactorAuth/Manager.php +++ b/lib/private/Authentication/TwoFactorAuth/Manager.php @@ -103,6 +103,9 @@ public function isTwoFactorAuthenticated(IUser $user): bool { return false; } + // Trigger provider registering + $this->getProviderSet($user); + $providerStates = $this->providerRegistry->getProviderStates($user); $enabled = array_filter($providerStates);