-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Added shouldLockout to UserLoginInfo override LoginAsync methods #7000
Conversation
Hello, we are currently updating our ASPNETZERO-based application to use the ASP.NET Boilerplate v9.4.0 packages. During the testing phase, we have noticed unusual and incorrect lockouts for our test-users. Looking at this change it seems that, despite a user being successfully authenticated and logged in with We are calling the Could this be a bug in the logic, or am I misinterpreting this code? (line 110 and 131 of the AbpLoginManager classes) |
Hi @wv-lennic This issue will be resolved when you update the ASP.NET Boilerplate packages to version |
Hi @oguzhanagir Wow, thank you for your quick reply. 👍 I have looked at the changes for the AbpLoginManager in tag v.9.4.2, and think you are referring to commit 10cede2? Although this is a change in the same class, it seems to be a change in the other If I am interpreting the code correctly, the issue seems to be in the underlying My apologies if this is not the correct way to address this problem. I was looking at the code and thought it might be of help to pinpoint to the problem. If you would prefer I create an issue, I can do so. |
Hi @wv-lennic If the purpose here is to lock the user, the |
Hi @oguzhanagir Thank you for the explanation, but I am still a bit confused. If I take a look at the I understand that the Am I missing something here? |
Hi @wv-lennic Yes, you are right, if For username/password logins, It would be logical to call the I have created an issue for this, and you can follow the updates from there. Thank You |
That's great news, thank's for looking into it so fast! |
Resolves #6999
AbpLoginManager has been fixed to check whether the user is locked or not when logging in with External Login.