Skip to content

TOTP verification field initially appears blank #1014

Closed

Description

@afirwana

Describe the bug

Hello Two Factor team,

My website is hosted on WordPress.com Business, and I installed the latest available version of your Two Factor plugin.

When testing my local administrator login, I entered my username and password, but the TOTP verification field did not appear.

Clicking “Use a recovery code” and then switching back to TOTP/authenticator-app verification made the field appear. I could then enter my authenticator code and log in successfully.

Is this a known issue, and is there a fix so the verification field appears immediately?

Thank you for your help.

Steps to Reproduce

  1. Install and activate the latest version of Two Factor on a WordPress.com Business site.
  2. Configure authenticator-app verification (TOTP) for a local administrator account.
  3. Log out and open /wp-login.php in any browser.
  4. Enter the administrator’s username and password, then click Log In.
  5. The two-factor verification page appears, but the TOTP input field is missing. The alternative authentication links remain visible.
  6. Click “Use a recovery code,” then click the link to switch back to TOTP/authenticator-app verification.
  7. The TOTP input field now appears, allowing successful login using the authenticator code.

Screenshots, screen recording, code snippet

No response

Environment information

No response

Please confirm that you have searched existing issues in this repository.

No

Please confirm that you have tested with all plugins deactivated except Two-Factor.

No

Activity

  1. masteradhoc commented on Oct 2, 2026

    @masteradhoc
    Collaborator

    Thank you for the report, @afirwana!

    Could you please provide a list of the plugins currently installed and active on the site?

    Also, would you be able to run a conflict test by temporarily deactivating the other plugins and testing with only Two-Factor active? If the issue goes away, you could then re-enable the plugins one by one to identify which plugin is causing the conflict.

    That would help us narrow down whether this is a plugin conflict or an issue within Two-Factor itself.

  2. afirwana commented on Oct 2, 2026

    @afirwana
    Author

    Thank you @masteradhoc I’ll provide the installed plugin names, versions, and activation status.

    My site is a live learning platform hosted on WordPress.com Business, so I’ll perform the conflict test on staging. I’ll first confirm that the issue also occurs there, then deactivate the other plugins and re-enable them one by one if the issue disappears.

    I’ll report the results and note any WordPress.com-managed plugins that remain active during testing.

  3. afirwana commented on Oct 2, 2026

    @afirwana
    Author

    Thank you @masteradhoc . My site is hosted on WordPress.com Business and runs WordPress 7.1.2.

    There are 48 installed plugins: 33 active and 15 inactive. The attached export shows the active plugins only and does not display individual plugin versions.

    Currently active plugins:

    • Advanced Custom Fields
    • Akismet Anti-spam: Spam Protection
    • All-in-One WP Migration and Backup
    • All-in-One WP Migration Unlimited Extension
    • CoBlocks
    • Code Snippets
    • Custom Post Type UI
    • Google for WooCommerce
    • Gravatar Enhanced
    • Gutenberg
    • Import and export users and customers
    • Jetpack
    • Jetpack CRM
    • Layout Grid
    • Loco Translate
    • Newsletter
    • Newsletter - Addons Manager and Support
    • Newsletter - Import/Export
    • PDF Ink Lite
    • Rank Math SEO
    • Send Users Email
    • Sensei LMS
    • Sensei LMS Certificates
    • Sensei Pro
    • Site Kit by Google
    • Strong Testimonials
    • Two Factor
    • User Registration & Membership
    • WooCommerce
    • WooCommerce PayPal Payments
    • WooCommerce.com Update Manager
    • WP Mail SMTP

    Neither Wordfence Security nor Wordfence Login Security appears in the active plugin list.

    I’m unable to perform a full plugin deactivation test at the moment. Could you suggest targeted checks based on this list, or specific console errors or failed requests that would help diagnose the issue?

    The issue occurs on the standard wp-login.php screen across browsers. Switching to “Use a recovery code” and then back to the authenticator-app option makes the TOTP field appear.

  4. masteradhoc commented on Oct 2, 2026

    @masteradhoc
    Collaborator

    Could you check with JetPack disabled? We've an open report here thats fixed but not yet published: #1009

  5. afirwana commented on Oct 2, 2026

    @afirwana
    Author

    Thank you for pointing me to #1009. The symptoms described look very similar to mine.

    My site is hosted on WordPress.com Business, where Jetpack is automatically managed and cannot be deactivated. There is no “Deactivate” option for it.

    I log in through the standard wp-login.php page using a local administrator account.

    Could you suggest a way to confirm this CSS conflict while keeping Jetpack active—for example, by inspecting the affected elements or temporarily disabling only the SSO module?

    Also, when will the fix be included in a published release? @masteradhoc

  6. self-assigned this
    on Oct 3, 2026
  7. added this to the 0.18.0 milestone on Oct 3, 2026
  8. masteradhoc commented on Oct 3, 2026

    @masteradhoc
    Collaborator

    Thank you for understanding! What i would suggest so you dont have to do it on every login is to manually apply the changes from this PR (see https://github.com/WordPress/two-factor/pull/1009/changes) to the plugin until we prepare a release and fix this for everyone.

    Could you test that?

    CC: @kasparsd

  9. masteradhoc commented on Oct 5, 2026

    @masteradhoc
    Collaborator

    Fixed in #1009 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

Sponsor
SponsoredKunjungi sekarang
Promo