<% var isLoginByValidCode = @Global.getConfigToBoolean('user.loginByValidCode', 'true'); %>
<% if(isLoginByValidCode){ %>
<% } %>
- <#form:form id="loginForm" model="${user!}" action="${ctx}/login" method="post" class="tab-content">
+ <#form:form id="loginForm" model="${user!}" action="${ctxAdmin}/login" method="post" class="tab-content">
<% if(!isLoginByValidCode && isBlank(message!)){ %>
${text('欢迎回来')+'!'}
<% }else if(isNotBlank(message!)){ %>
@@ -42,7 +42,7 @@
<% 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('登录租户')}"/>
+ name="param_corpCode" url="${ctxAdmin}/sys/corpAdmin/treeData?isShowCode=true" placeholder="${text('登录租户')}"/>
<% } %>