Change 2FA plugin related global setting names (#7275)

This commit is contained in:
Harikrishna 2023-02-22 17:03:52 +05:30 committed by GitHub
parent c8ee0e7c30
commit a3670496ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -38,8 +38,8 @@
<bean id="userTwoFactorAuthenticatorsRegistry"
class="org.apache.cloudstack.spring.lifecycle.registry.ExtensionRegistry">
<property name="orderConfigKey" value="user.2fa.authenticators.order" />
<property name="excludeKey" value="user.2fa.authenticators.exclude" />
<property name="orderConfigKey" value="user.2fa.providers.order" />
<property name="excludeKey" value="user.2fa.providers.exclude" />
<property name="orderConfigDefault" value="totp,staticpin" />
</bean>

View File

@ -360,7 +360,7 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager, M
static final ConfigKey<String> userTwoFactorAuthenticationDefaultProvider = new ConfigKey<>("Advanced", String.class,
"user.2fa.default.provider",
"totp",
"The default user two factor authentication provider plugin. Eg. totp, staticpin", true, ConfigKey.Scope.Domain);
"The default user two factor authentication provider. Eg. totp, staticpin", true, ConfigKey.Scope.Domain);
protected AccountManagerImpl() {
super();