fix(#I16TXU): 登陆认证接口调用记录登陆日志方法参数有误

#Issue
link https://gitee.com/LongbowEnterprise/dashboard/issues?id=I16TXU
This commit is contained in:
Argo Window10 2019-12-16 15:43:40 +08:00
parent 642616c424
commit 3aa8d0c326
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ namespace Bootstrap.Admin.Controllers.Api
{
token = BootstrapAdminJwtTokenHandler.CreateToken(userName);
}
HttpContext.Log(userName, token != null);
HttpContext.Log(userName, !string.IsNullOrEmpty(token));
return token;
}