Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-04-16 15:54:14 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2021-04-20 22:01:16 +0300
commita34085e1a2b31c28157b1799e0bd4dfcbf9ab638 (patch)
tree000846f4758b7504bc8828a98b98e5fc53d4b299 /lib
parent5ee9e1f78467d1004177012978160731606f204e (diff)
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());