diff --git a/server-spi/src/main/java/org/keycloak/models/utils/DefaultRequiredActions.java b/server-spi/src/main/java/org/keycloak/models/utils/DefaultRequiredActions.java index 1292c1cdc3..db38b64850 100755 --- a/server-spi/src/main/java/org/keycloak/models/utils/DefaultRequiredActions.java +++ b/server-spi/src/main/java/org/keycloak/models/utils/DefaultRequiredActions.java @@ -52,7 +52,7 @@ public class DefaultRequiredActions { RequiredActionProviderModel totp = new RequiredActionProviderModel(); totp.setEnabled(true); totp.setAlias(UserModel.RequiredAction.CONFIGURE_TOTP.name()); - totp.setName("Configure Totp"); + totp.setName("Configure OTP"); totp.setProviderId(UserModel.RequiredAction.CONFIGURE_TOTP.name()); totp.setDefaultAction(false); realm.addRequiredActionProvider(totp); diff --git a/services/src/main/java/org/keycloak/authentication/requiredactions/UpdateTotp.java b/services/src/main/java/org/keycloak/authentication/requiredactions/UpdateTotp.java index a9c3e7c681..9ba9922ac3 100644 --- a/services/src/main/java/org/keycloak/authentication/requiredactions/UpdateTotp.java +++ b/services/src/main/java/org/keycloak/authentication/requiredactions/UpdateTotp.java @@ -113,7 +113,7 @@ public class UpdateTotp implements RequiredActionProvider, RequiredActionFactory @Override public String getDisplayText() { - return "Configure Totp"; + return "Configure OTP"; } diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/authentication/RequiredActionsTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/authentication/RequiredActionsTest.java index 8d45830bee..5354626b36 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/authentication/RequiredActionsTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/authentication/RequiredActionsTest.java @@ -44,7 +44,7 @@ public class RequiredActionsTest extends AbstractAuthenticationTest { List result = authMgmtResource.getRequiredActions(); List expected = new ArrayList<>(); - addRequiredAction(expected, "CONFIGURE_TOTP", "Configure Totp", true, false, null); + addRequiredAction(expected, "CONFIGURE_TOTP", "Configure OTP", true, false, null); addRequiredAction(expected, "UPDATE_PASSWORD", "Update Password", true, false, null); addRequiredAction(expected, "UPDATE_PROFILE", "Update Profile", true, false, null); addRequiredAction(expected, "VERIFY_EMAIL", "Verify Email", true, false, null);