Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法登陆HttpContext 为null #23

Closed
passhk opened this issue Dec 11, 2019 · 3 comments
Closed

无法登陆HttpContext 为null #23

passhk opened this issue Dec 11, 2019 · 3 comments

Comments

@passhk
Copy link

passhk commented Dec 11, 2019

No description provided.

@passhk
Copy link
Author

passhk commented Dec 11, 2019

微信图片_20191211110904

@passhk
Copy link
Author

passhk commented Dec 11, 2019

方法 public virtual async Task LoginAsync(string userName, bool rememberMe, IEnumerable roles)
var httpContext = _contextAccessor.Value.HttpContext;
值 为 null ,有时候 好用 有时不好用

@JeffreySu
Copy link
Contributor

新版本应该都没有这个问题了吧?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants