summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-04-16 14:54:14 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2021-04-20 21:01:16 +0200
commita34085e1a2b31c28157b1799e0bd4dfcbf9ab638 (patch)
tree000846f4758b7504bc8828a98b98e5fc53d4b299 /lib
parent5ee9e1f78467d1004177012978160731606f204e (diff)
downloadnextcloud-server-a34085e1a2b31c28157b1799e0bd4dfcbf9ab638.tar.gz
nextcloud-server-a34085e1a2b31c28157b1799e0bd4dfcbf9ab638.zip
Move 2fa backupscode to new registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Authentication/TwoFactorAuth/ProviderLoader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Authentication/TwoFactorAuth/ProviderLoader.php b/lib/private/Authentication/TwoFactorAuth/ProviderLoader.php
index 57b9413feb4..8dd19690242 100644
--- a/lib/private/Authentication/TwoFactorAuth/ProviderLoader.php
+++ b/lib/private/Authentication/TwoFactorAuth/ProviderLoader.php
@@ -76,7 +76,7 @@ class ProviderLoader {
}
}
- $registeredProviders = $this->coordinator->getRegistrationContext()->getTwoFactorProvider();
+ $registeredProviders = $this->coordinator->getRegistrationContext()->getTwoFactorProviders();
foreach ($registeredProviders as $provider) {
try {
$this->loadTwoFactorApp($provider->getAppId());