I had other 2FA addon but also there was no way to add Yubikey, when I press add new key circle is constantly spinning and nothing happens.
]]>Hi!
I noticed the plugin doesn’t execute wp_login
action after user successfully authenticated. That what standart wp_signon does.
https://developer.www.ads-software.com/reference/hooks/wp_login/
]]>I accidentally removed my key from authenticator app ,
How can i generate new key or reset the plugin when i can’t revalidate deleted key ?
]]>Is it possible to enable/disable the 2FA for certain roles?
]]>Problem registering Yubikey
I am running WordPress via Docker and installed this plugin. I am not able to register a new key. Is there any mandatory parameter for the key to work? When I try to register, it keeps loading indefinitely.
]]>Hi,
I need to extend the life of code received by mail.
How can I use filter two_factor_token_ttl to extend it?
Regards,
]]>I did install and remove this plugin.
Now I don’t have code and can’t find how to reset 2fa settings
Please confirm your Two-Factor plugin is compatible with PHP 8.3 (released in Nov 2023).
]]>The plugin is great! Could there be a way to only send the code once a day, and not every time you log in?
So that the username and password are requested as normal every time you log in during the day, but the code sent by email is only requested once a day, and is saved for 24 hours
Thanks
Guten Morgen,
ich kann mich nicht mehr auf meiner Website anmelden da mir keine Codes zugesendet werden und auch die BackUp Codes nicht funktionieren.
Was kann ich jetzt tun? Bitte dringend um Hilfe.
Danke.
]]>I installed the plugin, I’m the only user and I set the 2FA with 1Password by scanning the QR-code provided. I saved the one-use password just in case thinking this is sufficient but it’s clearly not.
The 2FA generated by 1Password is rejected, the safety one-use codes also.
Is there a way to bypass this plugin ?
]]>Hello,
Is there a way to customize the email template when sending the code for 2FA to email? I would like to add some logo and center the text.
Thanks,
Ciprian
]]>Hi!
I wish to reset my TOTP. In order to access the authentication options in the “Profile” section I should revalidate the session by entering the current TOTP once again, but when I do so, i go back to the previous screen with the options locked, and the “Revalidate now” button still present.
I did this without any issues on my friend’s wordpress website, but I am struggling with mine. One difference that comes to mind is that I am running a Multi-site, while the other website is an ordinary single site setup.
Could you please help me? Thanks!
]]>When I was setting up my website I did not realize that outgoing packets to port 25 are blocked by my hosting service. I can disable and uninstall the plugin. But whenever I reinstall the plugin there is a message in the profile page that says “To update your Two-Factor options, you must first revalidate your session.” I am unable to disable email and I need to “revalidate” to change the authentication method form email to something else. The “revalidate” page requires me to submit a code that was sent to my email which I cannot receive because it was blocked by my hosting provider.
What could be done to address this issue?
]]>Hello,
Is it possible to check 2FA by default for all, or maybe onfly new users?
Thanks
]]>hello, i have a weird problem the plugin works well with my memberpress pro plugin, it has integrated well but for some reason the display of the QR code on the website after a member register is extremely small. I will attach a photo.
https://prnt.sc/RKY_3yjWdAbG
I have a site that’s still on PHP 7.2 (with this plugin’s details currently saying it supports PHP 5.6 and newer), and it updated to Two-Factor 0.9.0 that was just released today to then find the entire site had a fatal server error.
Thankfully, it seems to be a quick fix.
I needed to edit two-factor/classtwo-factor-core.php
to make 2 changes.
Lines 1450-1455
had:
if ( ! $provider ) {
return new WP_Error(
'two_factor_provider_missing',
__( 'Cheatin’ uh?', 'two-factor' ),
);
}
when that should instead be:
if ( ! $provider ) {
return new WP_Error(
'two_factor_provider_missing',
__( 'Cheatin’ uh?', 'two-factor' )
);
}
Additionally, lines 1725-1728
had:
printf(
'<fieldset id="two-factor-options" %s>',
$show_2fa_options ? '' : 'disabled="disabled"',
);
which should instead be:
printf(
'<fieldset id="two-factor-options" %s>',
$show_2fa_options ? '' : 'disabled="disabled"'
);
The difference can be tough to spot as it’s really only the removal of the trailing comma when listing out parameters. While PHP can be more lenient with the trailing comma when using arrays, etc. there are some PHP versions around PHP 7.2 (and definitely all of 7.2.x) where the trailing comma when listing out parameters causes a syntax error resulting in a full-site fatal server error in this case (when that trailing comma isn’t even doing anything anyway other than potentially having it break for some PHP versions.)
Hopefully, this is just a quick 0.9.1 release fix so fewer sites update to the potentially problematic 0.9.0 version, and one can just be mindful of and/or test for trailing commas like this before releasing future versions. Alternatively, 0.9.1 could be released as the last version that supports these older PHP versions (includes this quick fix) while then the next version release sets the PHP requirement to something above PHP 7.2 to avoid needing to worry about this.
This has also been submitted as a GitHub Pull Request at: https://github.com/WordPress/two-factor/pull/604
]]>When I have this plugin activated then the When Last Login plugin no longer displays the last login datetime.
Have reported to When Last Login as well.
]]>Hi there,
You have a good plugin, but it is hard to find and I think you′re missing out on potential users.
Just add the tag: 2fa on the plugin page
Please ignore the question. Wrong plugin.
]]>On December 28th and 29th, I was unable to receive the verification code in my mailbox.
I can’t receive the verification code.
Is there any other way to handle this? Thank you very much.
]]>Are there any more updates planned? Or can I use the plugin without hesitation even though we are already on WordPress 6.4.2?
]]>Below is copy of a support topic I created in the support area for the WP-WebAuthn plugin, but reworded as a support topic for the Two Factor plugin. I found the relevant code while searching for a plugin that supports Passkey a.k.a. WebAuthn a.k.a. FIDO2, but that’s another issue.
I noticed the code of the plugin WP-WebAuthn, in the file wwa-compatibility.php
, disables the ‘wp_login’ hook of the plugin Two Factor. If this in fact disables the Two Factor plugin, then it seems WP-WebAuthn should mention that in the FAQ, the readme, and a notice given to the user installing the WP-WebAuthn. I don’t see /two.+factor/i
elsewhere in the code of WP-WebAuthn.
The relevant code was added to WP-WebAuthn in version 1.0.8, May 11, 2020, with the note “Improve: Compatibility with Two Factor plugin.”
]]>Hi,
is there a way to use 2FA but exempt specific devices from it? What I mean is, making login secure with 2FA, but not forcing me to use 2FA every single time I login into WordPress from my standard PC at home; i.e. kind of defining it “trusted” devices (technically, this might work with a cookie, I suppose).
Thanks and kind regards
Franz
?????
?????? ???? ??? ?? 2?? ??? ?? ????? ??????. ??? ???? ???? ??? ??? ?? ?? ???? ?? ?? ?????.????? ?? ???? ??? ???? ???? ???? ????, ???? ???? ??? ??? ??? ??? ?????. ??? ???
]]>Hi! I’m having a problem that only started recently ( the last few weeks). When new users register with my site, they are able to set up MFA, but the QR code doesn’t generate. Instead, I see an icon with a spinning circle. This happens for admins and for standard users.
]]>I can no longer activate Time Based One-Time Password option. Either on the user profile or account. Every time I enable the option of Time Based One-Time Password and save the account. Two-factor to defaults back to the Email option.
]]>We have set the default to come through email. However it takes a really long time to come through. In recent days the emails does not comes through unless you click on the resend email link
]]>I have tested both When Last Login and WP Last Login and they both fail to record the user’s last logged in date when Two Factor is enabled and used.
It would be great to find a solution to this.
]]>Is there plans in the pipeline to introduce settings to require certain user groups to use a form of 2FA?
For example, it’d be great to require admins to have 2FA enabled.
Thanks,
T