RHSSO-296: Required Action "Configure Totp" should be "Configure OTP"
This commit is contained in:
parent
7e0238d1c7
commit
a231c1b31b
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -113,7 +113,7 @@ public class UpdateTotp implements RequiredActionProvider, RequiredActionFactory
|
|||
|
||||
@Override
|
||||
public String getDisplayText() {
|
||||
return "Configure Totp";
|
||||
return "Configure OTP";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ public class RequiredActionsTest extends AbstractAuthenticationTest {
|
|||
List<RequiredActionProviderRepresentation> result = authMgmtResource.getRequiredActions();
|
||||
|
||||
List<RequiredActionProviderRepresentation> 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);
|
||||
|
|
Loading…
Reference in a new issue