Skip to content

Commit a367049

Browse files
Change 2FA plugin related global setting names (#7275)
1 parent c8ee0e7 commit a367049

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/src/main/resources/META-INF/cloudstack/core/spring-core-registry-core-context.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838

3939
<bean id="userTwoFactorAuthenticatorsRegistry"
4040
class="org.apache.cloudstack.spring.lifecycle.registry.ExtensionRegistry">
41-
<property name="orderConfigKey" value="user.2fa.authenticators.order" />
42-
<property name="excludeKey" value="user.2fa.authenticators.exclude" />
41+
<property name="orderConfigKey" value="user.2fa.providers.order" />
42+
<property name="excludeKey" value="user.2fa.providers.exclude" />
4343
<property name="orderConfigDefault" value="totp,staticpin" />
4444
</bean>
4545

server/src/main/java/com/cloud/user/AccountManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager, M
360360
static final ConfigKey<String> userTwoFactorAuthenticationDefaultProvider = new ConfigKey<>("Advanced", String.class,
361361
"user.2fa.default.provider",
362362
"totp",
363-
"The default user two factor authentication provider plugin. Eg. totp, staticpin", true, ConfigKey.Scope.Domain);
363+
"The default user two factor authentication provider. Eg. totp, staticpin", true, ConfigKey.Scope.Domain);
364364

365365
protected AccountManagerImpl() {
366366
super();

0 commit comments

Comments
 (0)