hi
You can create a new question and share your case details.
Thanks
hi
Can you try this?
https://abp.io/support/questions/8169/Bug-in-Localization-logic-causes-feature-management-to-fail#answer-3a15e3a5-c2a2-f2ab-d71c-cbb1772281c4
hi
Can you share a minimal project to reproduce?
liming.ma@volosoft.com
Thanks.
ok, I will fix this and share a temporary solution.
Thanks.
Yes. Correct. : )
hi
You should get the user, user roles
from UserManager
based on the CurrentUser.Id
var user = await _identityUserManager.GetByIdAsync(CurrentUser.GetId());
Then check the user roles
to add your logic. For example, you could add or remove a role from the user
.
if you want to return a string message. you can get it from user
entity instead of CurrentUser
.
the user
entity has a higher priority than the CurrentUser
.
In short, the CurrentUser
is used to get the user
entity.
hi
You can get roles
from user
instead of CurrentUser
.
The CurrentUser
values from HttContext.User
.
hi
takes around 5 mins to load the login page
The logs you shared didn't contain the logs of Account/Login
page.
Can you share all of theogs.txt
by https://wetransfer.com/
Thanks.