• Resolved bobthedino

    (@bobthedino)


    Hi, this is a follow-up to the bug I reported a year ago (see “Unable to hide “Two-Factor” plugin settings from profile”).

    When the Two Factor plugin is active (see: https://ww.wp.xz.cn/plugins/two-factor/) the settings for it are now listed in the PublishPress Capabilities Profile Features list. Two items are added: “Two- Factor Options” and “Security Keys”.

    It is possible to hide “Security Keys” from user profiles, but unfortunately if I choose to hide “Two-Factor Options” the options still appear in the user profile.

    I reproduced this using a clean WordPress 6.9.1 install with PublishPress Capabilities 2.32.0 and Two-Factor 0.15.0 installed – these are the only two plugins installed.

    • This topic was modified 3 months, 2 weeks ago by bobthedino.
    • This topic was modified 3 months, 2 weeks ago by bobthedino.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Riza Prihananto

    (@rizaprihananto)

    Hi @bobthedino ,

    I can confirm the issue from my end, and it has been escalated to the developer. You can also check the progress of the escalation in the following issue: https://github.com/publishpress/publishpress-capabilities/issues/1592

    Feel free to let us know if you have some information to add.

    Thread Starter bobthedino

    (@bobthedino)

    Thank you, I look forward to seeing the fix. I’m very impressed with the speed and responsiveness of your support for this plugin!

    Plugin Author Steve Burge

    (@stevejburge)

    @bobthedino This is solved with the most recent release of PublishPress Capabilities: 2.40.

    Thread Starter bobthedino

    (@bobthedino)

    Hi, thank you for the update. It now almost works pefectly to hide the profile settings for Two-Factor.

    Unfortunately the following two lines of text from Two-Factor settings still appear on the user profile page, even after disabling all the Two-Factor items inside the Profile Features settings page:

    “Configure a primary two-factor method along with a backup method, such as Recovery Codes, to avoid being locked out if you lose access to your primary method. Methods marked as recommended are more secure and easier to use.”

    “Authentication for REST API and XML-RPC must use application passwords (defined above) instead of your regular password.”

    In the default state with all Two-Factor options enabled, these two lines of text appear immediately below the “Two-Factor Options” heading in the user profile.

    Plugin Support Riza Prihananto

    (@rizaprihananto)

    Hi @bobthedino ,

    I can see the issue here, but as a temporary solution, you can hide those sections by adding this to Admin Features: https://prnt.sc/FS4qMU8bbZum

    fieldset#two-factor-options {
    display: none;

    I will discuss with the developer regarding this to get the perfect result in the next update.



    Thread Starter bobthedino

    (@bobthedino)

    Hi, many thanks. I’ve been able to use your suggestion successfully.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.