• Users are unable to complete their first 2FA configuration. They cannot continue after landing on the first ‘Choose method’ page.

    Reproduction steps:
    – Configure plugin to enforce users to setup 2FA on their next login (no grace period)
    – Create a new user.
    – Login as the new user and try to configure 2FA.

    This issue occurs when 2FA is enforced to be setup upon the next login.
    The page user_choose_2fa_method doesn’t show anything else but the amount of options available, because there is no database entry for wp_2fa_enabled_methods for the current user.
    If I’m not mistaken, this page should be skipped altogether when an user sets up 2FA for the first time.

    In my current setup, I’ve added an extra condition upon which the pages ‘user_choose_2fa_method’ and ‘reconfigure_method’ are disabled/skipped in the setup wizard, which is when the aforementioned database entry is empty ( empty( get_user_meta( $user->ID, 'wp_2fa_enabled_methods', true ) ) [SetupWizard.php:150]).
    This does seem to resolve the issue

    • This topic was modified 4 years, 11 months ago by kavinn.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor robertabela

    (@robert681)

    Hello @kavinn

    Thank you very much for using our plugin. I am sorry to read about your issue. We have escalated this to the developers and will update this ticket as soon as we have more information.

    In the meantime, should you have any other questions / feedback, please do not hesitate to post again. Thank you for your patience and sorry if this has caused an inconvenience.

    Have a good day.

    Plugin Contributor robertabela

    (@robert681)

    Hello @kavinn

    We have tried to reproduce this issue a couple of times, however, we are unable to. It seems that something else might be conflicting with the plugin or causing this. Therefore we would like to troubleshoot this further.

    Can you please send us an email at support at wpwhitesecurity dot com, referencing this ticket, so we can start troubleshooting it?

    Looking forward to hearing from you.

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

The topic ‘Cannot continue setup when admin-users are enforced on login’ is closed to new replies.