• 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)
  • Plugin Author 2FAS

    (@2fas)

    There is no such option in the plugin but you can check out our other plugin for 2FA which is called 2FAS. In 2FAS plugin you can set obligatory 2FA for specific user roles.

Viewing 1 replies (of 1 total)
  • The topic ‘Enforcing admins to use 2FA?’ is closed to new replies.