修改BUG:未授权用户登录应用系统时导航到Home/Error/403页面后停留 #IRZ3G
This commit is contained in:
parent
45d2394f15
commit
54a0d5a24e
|
@ -44,10 +44,11 @@ namespace Bootstrap.Admin.Controllers
|
|||
model.Content = "请求资源未找到";
|
||||
model.Image = "404_icon.png";
|
||||
}
|
||||
else if(id == 403)
|
||||
else if (id == 403)
|
||||
{
|
||||
model.Title = "拒绝响应";
|
||||
model.Content = "请求资源的访问被服务器拒绝";
|
||||
model.ReturnUrl = Url.Content("~/Admin/Index");
|
||||
}
|
||||
return View(model);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue