diff --git a/services/src/main/java/org/keycloak/authentication/authenticators/resetcred/ResetPassword.java b/services/src/main/java/org/keycloak/authentication/authenticators/resetcred/ResetPassword.java index 1eb101674f..8463d97b26 100755 --- a/services/src/main/java/org/keycloak/authentication/authenticators/resetcred/ResetPassword.java +++ b/services/src/main/java/org/keycloak/authentication/authenticators/resetcred/ResetPassword.java @@ -18,9 +18,12 @@ package org.keycloak.authentication.authenticators.resetcred; import org.keycloak.authentication.AuthenticationFlowContext; +import org.keycloak.authentication.requiredactions.UpdatePassword; +import org.keycloak.models.Constants; import org.keycloak.models.UserModel; import org.keycloak.models.credential.PasswordCredentialModel; + /** * @author Bill Burke * @version $Revision: 1 $ @@ -35,6 +38,7 @@ public class ResetPassword extends AbstractSetRequiredActionAuthenticator { (context.getExecution().isConditional() && configuredFor(context))) { context.getAuthenticationSession().addRequiredAction(UserModel.RequiredAction.UPDATE_PASSWORD); + context.getAuthenticationSession().setClientNote(Constants.KC_ACTION_EXECUTING, UserModel.RequiredAction.UPDATE_PASSWORD.name()); } context.success(); }