修改BUG:用户锁定屏幕后,利用浏览器后退按钮后再点刷新按钮,程序抛出异常
This commit is contained in:
parent
5693a5a9bd
commit
cccf42c357
|
@ -26,7 +26,6 @@ namespace Bootstrap.Admin.Controllers
|
|||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[AllowAnonymous]
|
||||
public ActionResult Lock()
|
||||
{
|
||||
var user = UserHelper.RetrieveUsersByName(User.Identity.Name);
|
||||
|
|
Loading…
Reference in New Issue