Just another contact form plugin. Simple but flexible.
About Google Authenticator
The Google Authenticator plugin for WordPress allows you to add an extra layer of security to your website by requiring two-factor authentication using the Google Authenticator app. This means that in addition to entering your password, you will also need to enter a unique code generated by the app on your smartphone. This plugin can be enabled on a per-user basis, so you can choose to only require two-factor authentication for certain accounts.Screenshots





Frequently asked questions
What is the Google Authenticator plugin for WordPress?
The Google Authenticator plugin for WordPress gives you two-factor authentication using the Google Authenticator app for Android/iPhone/Blackberry.
How can I enable two-factor authentication on WordPress?
The two-factor authentication requirement can be enabled on a per-user basis. You could enable it for your administrator account, but log in as usual with less privileged accounts.
Can I use the Google Authenticator app for other services?
If you are security aware, you may already have the Google Authenticator app installed on your smartphone, using it for two-factor authentication on Gmail/Dropbox/Lastpass/Amazon etc.
Can I enable the App password feature for maintaining my blog with an Android/iPhone app?
If You need to maintain your blog using an Android/iPhone app, or any other software using the XMLRPC interface, you can enable the App password feature in this plugin, but please note that enabling the App password feature will make your blog less secure.
Who are the contributors to the Google Authenticator plugin?
Thanks to Oleksiy, Paweł Nowacki, Fabio Zumbi, Guido Schalkx, Henrik.Schack, Tobias Bäthge, Pascal de Bruijn, Daniel Werl, Dion Hulse, Aldo Latino, Kaijia Feng, Alex Concha, Jerome Etienne, Sébastien Prunier for their contributions to the Google Authenticator plugin.
Changelog
0.59
- Turning on Google Authenticator from the profile page, or saving a new secret while it is on, now needs a code from your authenticator app, so a mistake when adding the site to the app can no longer lock you out. Administrators can still turn it on for other users without a code.
- On multisite, the network settings can now require 2FA for all Super Admins, including those with no role on a site.
- Codes copied from an authenticator app are now accepted with any separator between the digits, such as “012 345”, “012-345” or the no-break and thin spaces some apps and phones insert. Previously any space made a valid code fail.
- New filters
google_authenticator_default_descriptionandgoogle_authenticator_hide_settings, and “Hide settings from user” no longer hides the mandatory setup page. - Fixed the spelling of the “Successfully saved” settings messages, so they are now translated too.
- Translations: the new strings are translated into all 24 languages. Like the rest, they are machine-assisted, so corrections from native speakers are welcome on translate.wordpress.org.
0.58
- Security: Wrong verification codes are now rate limited. After 5 wrong codes sent with the correct password, further attempts are blocked for 1 minute, doubling up to 1 hour. Previously the 6 digit code could be brute-forced by anyone who knew the password.
- Security: The verification code is only checked once the password is correct, and a wrong password and a wrong code now return the same error.
- Security: The 2FA secret shown on the setup and profile pages can no longer be set from a link (secret fixation).
- Security: Mandatory 2FA now applies when any of a user’s roles requires it, not only their first role.
- Security: The setup page can no longer replace the secret of an account that already has 2FA enabled.
- Security: Errors from other login checks (lockout or captcha plugins) are no longer overridden by App password logins.
- Hardening: Stricter validation of verification codes and secrets, input unslashing and output escaping throughout.
- Fixed two screen sign-in for passwords containing quotes or backslashes.
- Fixed site settings on multisite being editable only when network-wide settings were enforced (the reverse of what was intended).
- Fixed the network settings page on WordPress 4.5.
- Login form: the code field now lines up with the username and password fields in every browser. It uses the same markup as WordPress’s own fields; it was slightly narrower in some browsers, such as Safari.
- Login form: the “leave this field empty” hint is now a help button next to the label (WordPress 7.1 and later), so it can be read on phones and by screen readers.
- Login form: Safari and password managers can fill in the code automatically, and phones show a number keypad.
- Login form: the cursor now starts in the username field, as on a normal WordPress login, instead of jumping to the code field. On the two-screen sign-in page it still starts in the code field.
- Login form: a wrong code shakes the form, like a wrong password does.
- Codes typed with full-width digits (for example with a Japanese input method) are now accepted in every browser.
- Fixed the QR code for descriptions or site names with non-English characters. They were encoded incorrectly, so authenticator apps could show a garbled name or reject the code.
- Fixed the setup page not sending users who already have two-factor authentication enabled back to the dashboard.
- Updated the list of authenticator apps on the setup page (Google Authenticator, Microsoft Authenticator and Authy) and removed discontinued ones.
- Removed a stray space at the end of newly generated app passwords.
- New action
google_authenticator_code_reused. The “Man-in-the-middle attack detected” message is now only written to the PHP error log when WP_DEBUG is on. - Code cleanup for the WordPress coding standards and Plugin Check: safe redirects, translator comments and text domains, current jQuery methods (no more jQuery Migrate warnings), and removal of obsolete code.
- Updated the translation template.
- Translations: added Arabic, Chinese (Taiwan), Czech, Hungarian, Indonesian, Japanese, Korean, Persian, Portuguese (Portugal), Russian, Spanish (Mexico), Turkish, Ukrainian and Vietnamese, and completed and corrected the existing ten languages. All 24 now cover every string. The new and corrected strings are machine-assisted, so corrections from native speakers are very welcome on translate.wordpress.org.
- Tested with WordPress 7.2 and PHP 7.2 to 8.6.
- Updated readme and FAQ.
0.57
- Security: Fixed an authentication bypass where an empty app password could be accepted over XML-RPC (CVE-2026-88759). Thanks to Kuba (Wordfence).
- Saving the profile no longer stores an app password unless one has actually been generated.
- Empty or legacy (pre-2014 sha1) app passwords are now always rejected and removed. Affected users should create a new app password from their profile.
0.56
- Fixed CSRF account lockout bug.
0.55
- Improved PHP compatibility for PHP 7.4 through 8.5.
- Fixed deprecated and strict runtime issues in plugin code.
- Improved compatibility and safety of Base32 handling.
0.54
- Fixed a bug in multisite.
0.53
- Add a Polish translation
0.52
- Add a Dutch translation
- Add a Portuguese translation
0.51
- Fix a regression that broke app passwords
0.50
- New maintainer ivankk
- Conditionally include base32 class
0.49
- More streamlined sign-up flow for users, configuration screen for admins.
- Multisite support to either enable 2fa by role on a site, and/or on a network.
- Added filter google_authenticator_needs_setup to determine if user needs to enable 2fa.
- Added two part login process that can ask for 2fa code on a second login screen.
- Fixed a security bug that continued check_otp even if authenticate had already returned an error.
0.48
- Security fix / compatability with WordPress 4.5
0.47
- Google chart API replaced with jquery-qrcode
- QR codes now contain a heading saying WordPress (Feature request by Flemming Mahler)
- Danish translation & updated .pot file.
- Plugin now logs login attempts recognized as Man-in-the-middle attacks.
0.46
- Man-in-the-middle attack protection added.
- Show warning before displaying the QR code.
- FAQ updated.
0.45
- Spaces in the description field should now work on iPhones.
- Some depricated function calls replaced.
- Code inputfield easier to use for .jp users now.
- Sanitize description field input.
- App password hash function switched to one that doesn’t have rainbow tables available.
- PHP notices occurring during app password login removed.
0.44
- Installation/FAQ section updated.
- Simplified Chinese translation by Kaijia Feng added.
- Tabindex on loginpage removed, no longer needed, was used by older WordPress installations.
- Inputfield renamed to “googleotp”.
- Defaultdescription changed to “WordPressBlog” to avoid trouble for iPhone users.
- Compatibility with Ryan Hellyer’s plugin http://geek.ryanhellyer.net/products/deactivate-google-authenticator/
- Must enter all 6 code digits.
0.43
- It’s now possible for an admin to hide the Google Authenticaator settings on a per-user basis. (Feature request by : Skate-O)
0.42
- Autocomplete disabled on code input field. (Feature request by : hiphopsmurf)
0.41
- Italian translation by Aldo Latino added.
0.40
- Bugfix, typo corrected and PHP notices removed. Thanks to Dion Hulse for his patch.
0.39
- Bugfix, Description was not saved to WordPress database when updating profile. Thanks to xxdesmus for noticing this.
0.38
- Usability fix, input field for codes changed from password to text type.
0.37
- The plugin now supports “relaxed mode” when authenticating. If selected, codes from 4 minutes before and 4 minutes after will work. 30 seconds before and after is still the default setting.
0.36
- Bugfix, now an App password can only be used for XMLRPC/APP-Request logins.
0.35
- Initial WordPress app support added (XMLRPC).
0.30
- Code cleanup
- Changed generation of secret key, to no longer have requirement of SHA256 on the server
- German translation
0.20
- Initial release
