@Override
    protected void doInitialize() {
        val flow = getLoginFlow();
        if (flow != null && casProperties.getAccountRegistration().getGoogleRecaptcha().isEnabled()) {

            flow.getStartActionList().add(createEvaluateAction(CasWebflowConstants.ACTION_ID_ACCOUNT_REGISTRATION_INIT_CAPTCHA));
            prependActionsToActionStateExecutionList(flow, CasWebflowConstants.STATE_ID_SUBMIT_ACCOUNT_REGISTRATION,
                CasWebflowConstants.ACTION_ID_ACCOUNT_REGISTRATION_VALIDATE_CAPTCHA);
            createTransitionForState(flow, CasWebflowConstants.STATE_ID_SUBMIT_ACCOUNT_REGISTRATION,
                CasWebflowConstants.TRANSITION_ID_CAPTCHA_ERROR, CasWebflowConstants.STATE_ID_VIEW_ACCOUNT_SIGNUP);
        }
    }
This is {@link AccountManagementRegistrationCaptchaWebflowConfigurer}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-account-mgmt/src/main/java/org/apereo/cas/acct/webflow/AccountManagementRegistrationCaptchaWebflowConfigurer.java