diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-08 20:28:21 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-08 20:28:21 +0200 |
commit | d8197f2b971f8ed0fb2e4ed0ad7bf498e5bfb66c (patch) | |
tree | 9660f538608a6d10adfa9d863aee5374c300249f /lib/private/Authentication/TwoFactorAuth/ProviderSet.php | |
parent | c6e47e8a5139cccdd51a6c68e112e28b73adaddd (diff) | |
download | nextcloud-server-d8197f2b971f8ed0fb2e4ed0ad7bf498e5bfb66c.tar.gz nextcloud-server-d8197f2b971f8ed0fb2e4ed0ad7bf498e5bfb66c.zip |
Rename providerset method to get primary providers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Authentication/TwoFactorAuth/ProviderSet.php')
-rw-r--r-- | lib/private/Authentication/TwoFactorAuth/ProviderSet.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Authentication/TwoFactorAuth/ProviderSet.php b/lib/private/Authentication/TwoFactorAuth/ProviderSet.php index 63012d9ab55..91a00a0bf8e 100644 --- a/lib/private/Authentication/TwoFactorAuth/ProviderSet.php +++ b/lib/private/Authentication/TwoFactorAuth/ProviderSet.php @@ -70,7 +70,7 @@ class ProviderSet { /** * @return IProvider[] */ - public function get3rdPartyProviders(): array { + public function getPrimaryProviders(): array { return array_filter($this->providers, function(IProvider $provider) { return !($provider instanceof BackupCodesProvider); }); |