菜单完善
This commit is contained in:
@@ -142,21 +142,9 @@ namespace FineUIPro.Web
|
||||
|
||||
if (!IsDataShowPage && !IsSafeReferer)
|
||||
{
|
||||
string loginform = ConfigurationManager.AppSettings["LoginForm"];
|
||||
if (string.IsNullOrEmpty(loginform))
|
||||
{
|
||||
if (this.Page.Request.AppRelativeCurrentExecutionFilePath != "~/Login.aspx")
|
||||
Response.Redirect("~/Login.aspx");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.Page.Request.AppRelativeCurrentExecutionFilePath != "~/Login_ZJ.aspx")
|
||||
Response.Redirect("~/Login_ZJ.aspx");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (this.Page.Request.AppRelativeCurrentExecutionFilePath != "~/Login.aspx")
|
||||
Response.Redirect("~/Login.aspx");
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user