Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "huanghm"

bug重现如下:

  1. 后台登录的方法为 [HttpPost] [ValidateAntiForgeryToken] public JsonResult Login() { } 2.页面访问登录页面 <a class="postlink" href="http://admin.xx.com/login">http://admin.xx.com/login</a> 3.__RequestVerificationToken的cookie清除或直接清除浏览器所有的cookie. 4.点击登录,框架会提示错误,错误在 Abp.Web.Mvc.Controllers.AbpController类里面的 #region Exception handling

    protected override void OnException(ExceptionContext context)
    {
    

//Log exception if (_wrapResultAttribute.LogError) { LogHelper.LogException(Logger, context.Exception); } }

这个_wrapResultAttribute是null

Showing 1 to 1 of 1 entries