3 答案
-
0
hi
Can you explain it in detail?
-
0
Currently 2-factor can be enabled by host admin, tenant admin at tenant level or by user at user level. Do ABP have any provision to enable 2-factor for any particular role.
-
0
hi
- You can customize the code to change the 2faof all users under the role when the role is changed.
- Or override the
PasswordSignInAsync
method ofSignInManager<IdentityUser>
class andGetTwoFactorEnabledAsync
ofUserManager<IdentityUser>