anchor.diff:  <%@ page import="org.wso2.carbon.identity.core.ServiceURLBuilder" %>
   
   <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();
  +    }
  +%>
  +
   <%
       String proxyContextPath = ServerConfiguration.getInstance().getFirstProperty(IdentityCoreConstants
               .PROXY_CONTEXT_PATH);
  
positive.code:                 } else {
                      e.preventDefault();
  
                      var userName = document.getElementById("username");
                      var usernameUserInput = document.getElementById("usernameUserInput");
                      var tenantName = getParameterByName("tenantDomain");
  
                      if (usernameUserInput) {
                          userName.value = usernameUserInput.value.trim();
                      }
  
                      if (userName.value) {
  
negative.code: <%@ page import="javax.ws.rs.core.Response" %>
  <%@ page import="static org.wso2.carbon.identity.core.util.IdentityUtil.isSelfSignUpEPAvailable" %>
  <%@ page import="static org.wso2.carbon.identity.core.util.IdentityUtil.isRecoveryEPAvailable" %>
  <%@ page import="static org.wso2.carbon.identity.core.util.IdentityUtil.isEmailUsernameEnabled" %>
  <%@ page import="static org.wso2.carbon.identity.core.util.IdentityUtil.getServerURL" %>
  <%@ page import="org.apache.commons.codec.binary.Base64" %>
  <%@ page import="org.apache.commons.text.StringEscapeUtils" %>
  