修改BUG:未授权用户登录应用系统时导航到Home/Error/403页面后停留 #IRZ3G

This commit is contained in:
Argo-Surface 2019-02-25 15:53:16 +08:00
parent 45d2394f15
commit 54a0d5a24e
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}