=== Encourage User Activation for Google Authenticator === Contributors: iandunn Donate link: http://nhmin.org Tags: google authenticator,two factor authentication Requires at least: 3.1 Tested up to: 4.9.8 Stable tag: 0.2 License: GPLv2 or Later Allows administrators to either nag users to enable two-factor authentication, or force them to enable it. == Description == The [Google Authenticator](http://wordpress.org/plugins/google-authenticator/) plugin is a great way to add two-factor authentication to your site, but in order for it to work, users have to activate it for their account themselves. They may not know that it's available, or may not be motivated to enable it. This plugin helps administrators to encourage users to activate it, and has three different methods for doing that, depending on how strict you want to be: * **Gently Nag the user:** A warning message will appear at the top of the Dashboard and Profile screens, asking them to enable two-factor authentication. The message goes away when they enable it. This is the default behavior. * **Persistently Nag the user:** The warning will appear at the top of all screens until they enable two-factor auth. * **Force the user:** The warning will appear on all screens, and the user will also be prevented from doing anything inside wp-admin until they activate two-factor auth. They're temporarily assigned the role of a Subscriber, and redirected to their profile whenever they try to access another screen. Once they enable two-factor auth, their original role is restored and they can access other screens again. == Installation == For help installing this (or any other) WordPress plugin, please read the [Managing Plugins](http://codex.wordpress.org/Managing_Plugins) article on the Codex. Once the plugin is installed and activated, you can visit the General Settings screen to choose whether users should be nagged to enable two-factor authentication, or forced to. == Frequently Asked Questions == = Does this replace the Google Authenticator plugin? = No, this is built on top of the Google Authenticator plugin and requires it in order to work. = Can I customize the notice that's displayed when a user doesn't have two-factor authentication enabled? = Yes, you can use the `gaeua_notice_nag` and `gaeua_notice_force` filters. For example, you can copy and paste the following code into a functionality plugin: `add_filter( 'gaeua_notice_nag', 'gaeua_notice_nag' ); function gaeua_notice_nag( $nag ) { ob_start(); ?>
Enter your custom message here.