Enforcing admins to use 2FA?
-
Is there a way to enforce a user with administrator rights to use 2FA? I’m happy to add some code but couldn’t find hooks in your code.
What I’m looking for is a simple function that will do:
1) Check if user is admin
2) If yes, check whether they have 2FA enabled
3) If yes, send them to 2FA box as per current behaviour
4) If not, display custom error page.All I’m missing is a hook before your 2FA page to insert my function.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Enforcing admins to use 2FA?’ is closed to new replies.