<% var isLoginByValidCode = @Global.getConfigToBoolean('user.loginByValidCode', 'true'); %>
<#form:form id="phoneLoginForm" model="${user!}" action="${ctxPath}/account2/phoneLogin" method="post" class="tab-content">
<% if(!isLoginByValidCode && isBlank(message!)){ %>
${text('欢迎回来')+'!'}
<% }else if(isNotBlank(message!)){ %>
${message}
<% } %>
<% if(@Global.getConfigToBoolean('user.loginCodeCorpUnique', 'false')){ %>
<#form:treeselect id="switchCorpSelect" title="${text('登录租户')}" allowClear="false"
name="param_corpCode" url="${ctx}/sys/corpAdmin/treeData?isShowCode=true" placeholder="${text('登录租户')}"/>
<% } %>
#form:form>