anchor.diff:  <%@ page import="org.wso2.carbon.identity.application.authentication.endpoint.util.EndpointConfigManager" %>
   
   <jsp:directive.include file="includes/init-loginform-action-url.jsp"/>
  +
  +<%
  +    String emailUsernameEnable = application.getInitParameter("EnableEmailUserName");
  +    Boolean isEmailUsernameEnabled = false;
  +
  +    if (StringUtils.isNotBlank(emailUsernameEnable)) {
  +        isEmailUsernameEnabled = Boolean.valueOf(emailUsernameEnable);
  +    } else {
  +        isEmailUsernameEnabled = isEmailUsernameEnabled();
  +    }
  +%>
   
   <script>
       function goBack() {
  
positive.code:         </div>
      </div>
      <% } %>
      <%!
          private String getRecoverAccountUrl(String identityMgtEndpointContext, String urlEncodedURL, boolean isUsernameRecovery) {
  
              return identityMgtEndpointContext + "/recoveraccountrouter.do?callback=" +
                      Encode.forHtmlAttribute(urlEncodedURL) + "&isUsernameRecovery=" + isUsernameRecovery;
          }
  
          private String getRegistrationUrl(String identityMgtEndpointContext, String urlEncodedURL) {
  
              return identityMgtEndpointContext + "/register.do?callback=" + Encode.forHtmlAttribute(urlEncodedURL);
          }
      %>
  </form>
  
negative.code:             if ( (sp != null && !sp.endsWith("_apim_publisher")) && isSelfSignUpEPAvailable && !isIdentifierFirstLogin(inputType)) { %>
              <button
                  type="button"
                  onclick="window.location.href='<%=getRegistrationUrl(identityMgtEndpointContext, urlEncodedURL, urlParameters)%>';"
                  class="ui large button link-button"
                  id="registerLink"
                  tabindex="8"
  