mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
增加权限错误页面
This commit is contained in:
17
OpenAuth.Mvc/Controllers/ErrorController.cs
Normal file
17
OpenAuth.Mvc/Controllers/ErrorController.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace OpenAuth.Mvc.Controllers
|
||||
{
|
||||
public class ErrorController : Controller
|
||||
{
|
||||
// GET: Error
|
||||
public ActionResult NoAccess()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user