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).
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.