Title: Encourage User Activation for Google Authenticator
Author: Ian Dunn
Published: <strong>15 de Decembro, 2013</strong>
Last modified: 23 de Abril, 2021

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://s.w.org/plugins/geopattern-icon/google-authenticator-encourage-user-
activation.svg)

# Encourage User Activation for Google Authenticator

 Por [Ian Dunn](https://profiles.wordpress.org/iandunn/)

[Descargar](https://downloads.wordpress.org/plugin/google-authenticator-encourage-user-activation.0.2.zip)

 * [Detalles](https://gl.wordpress.org/plugins/google-authenticator-encourage-user-activation/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/google-authenticator-encourage-user-activation/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/google-authenticator-encourage-user-activation/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/google-authenticator-encourage-user-activation/#developers)

 [Soporte](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/)

## Descrición

The [Google Authenticator](https://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.
    Keep in mind that the Google Authenticator plugin doesn’t require users
   to enter a valid 2FA code from their phone during the activation process, so 
   some users may not set it up correctly and lock themselves out of their account.
   This is unfortunate and may result in more support requests, but it’s a small
   price to pay for increased security.

## Capturas

[⌊Under 'Nag' mode, the user has normal access, but will always see a nag message.⌉⌊
Under 'Nag' mode, the user has normal access, but will always see a nag message.⌉[

Under ‘Nag’ mode, the user has normal access, but will always see a nag message.

[⌊Under 'Force' mode, the user will always be redirected to their profile, so that
they can't do anything until they enable two-factor authentication.⌉⌊Under 'Force'
mode, the user will always be redirected to their profile, so that they can't do
anything until they enable two-factor authentication.⌉[

Under ‘Force’ mode, the user will always be redirected to their profile, so that
they can’t do anything until they enable two-factor authentication.

[⌊The configuration options on the General Settings page.⌉⌊The configuration options
on the General Settings page.⌉[

The configuration options on the General Settings page.

## Instalación

For help installing this (or any other) WordPress plugin, please read the [Managing Plugins](https://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.

## Preguntas frecuentes

### 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](http://wpcandy.com/teaches/how-to-create-a-functionality-plugin/):

    ```
    add_filter( 'gaeua_notice_nag', 'gaeua_notice_nag' );
    function gaeua_notice_nag( $nag ) {
        ob_start();
        ?>

            <div class="error">
                <p>
                    Enter your custom message here.
                </p>
            </div>

        <?php
        $nag = ob_get_clean();

        return $nag;
    }
    ```

## Comentarios

![](https://secure.gravatar.com/avatar/0fabba8f338d86023b2a2504652c48091ec21af5b038d96d5bf6706c2d43de62?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-3083/)󠁿

 [donikatz](https://profiles.wordpress.org/donikatz/) 3 de Setembro, 2016

Can confirm works with WP 4.4. IMO, a necessary addition to the great Google Authenticator
plugin. Thanks!

 [ Ler todas as 3 opinións ](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/reviews/)

## Colaboradores e desenvolvedores

“Encourage User Activation for Google Authenticator” é un software de código aberto.
As seguintes persoas colaboraron con este plugin.

Colaboradores

 *   [ Ian Dunn ](https://profiles.wordpress.org/iandunn/)

[Traduce “Encourage User Activation for Google Authenticator” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/google-authenticator-encourage-user-activation)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/google-authenticator-encourage-user-activation/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/google-authenticator-encourage-user-activation/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/google-authenticator-encourage-user-activation/)
por [RSS](https://plugins.trac.wordpress.org/log/google-authenticator-encourage-user-activation/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### v0.2 (2017-02-26)

 * [NEW] Added a gentle nag mode, where the warning is only shown on the Dashboard
   and Profile screens.

#### v0.1 (2013-12-14)

 * [NEW] Initial release

## Meta

 *  Versión **0.2**
 *  Última actualización **Fai 5 anos**
 *  Instalacións activas **50+**
 *  Versión de WordPress ** 3.1 ou superior **
 *  Probado ata **4.9.33**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/google-authenticator-encourage-user-activation/)
 * Etiquetas
 * [google authenticator](https://gl.wordpress.org/plugins/tags/google-authenticator/)
   [two factor authentication](https://gl.wordpress.org/plugins/tags/two-factor-authentication/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/google-authenticator-encourage-user-activation/advanced/)

## Valoracións

 4.3 de 5 estrelas

 *  [  2 valoracións de 5 estrelas     ](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/reviews/?filter=4)
 *  [  1 valoración de 3 estrelas     ](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/reviews/?filter=1)

[A túa valoración](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/reviews/)

## Colaboradores

 *   [ Ian Dunn ](https://profiles.wordpress.org/iandunn/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/google-authenticator-encourage-user-activation/)

## Doar

Queres apoiar o progreso deste plugin?

 [ Dona a este plugin ](http://nhmin.org)