0
    
    
        
                    shobhit created
                    
                    
                    
                
                - ABP Framework version: v4.2.2
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
how we can configure role level 2-factor authentication
3 Answer(s)
- 
    0hi Can you explain it in detail? 
- 
    0Currently 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. 
- 
    0hi - You can customize the code to change the 2faof all users under the role when the role is changed.
- Or override the PasswordSignInAsyncmethod ofSignInManager<IdentityUser>class andGetTwoFactorEnabledAsyncofUserManager<IdentityUser>
 
 
                                