• Resolved negapo

    (@negapo)


    Is there any way we can add a custom user role to the list of users who need 2FA?
    Thanks

    • This topic was modified 3 years, 7 months ago by negapo.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter negapo

    (@negapo)

    Line 27 at sg-security/core/Sg_2fa/Sg_2fa.php defines the user roles, you can add a user role in there and then toggle off and on the 2FA options at the plug-in options.

    It’s not advisable to change core plug-in files, it would be great to create a filter so we can change it (add and remove).

    Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey there @negapo,

    Thank you for the suggestion! Indeed changing core files is not recommended.

    We will extend the 2fa supported roles. The improvement will be added in the future release.

    Kind regards,
    Stoyan

    Thread Starter negapo

    (@negapo)

    Great, thanks @stoyangeorgiev.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2FA – Add User Role’ is closed to new replies.