Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dummy Method #383

Closed
KodaCHC opened this issue Aug 27, 2020 · 1 comment
Closed

Dummy Method #383

KodaCHC opened this issue Aug 27, 2020 · 1 comment
Labels

Comments

@KodaCHC
Copy link

KodaCHC commented Aug 27, 2020

Hi

Grat Plugin. Thank you. I have two questions.

In one installation I see the dummy method, in another I do not. What does this depend on?

Where do I find the MO files? I'm looking for the de_de, but there is no languages folder in the plugin itself and I can't find them in the wp-content\languages\plugins either.

Edit: Is there a possibility to set that 2FA is mandatory for single groups or for all?

Koda

@KodaCHC KodaCHC changed the title Multi Language & Dummy Method Dummy Method Aug 27, 2020
@kasparsd
Copy link
Collaborator

In one installation I see the dummy method, in another I do not. What does this depend on?

The "dummy method" is available only if the WP_DEBUG is set to true:

public static function enable_dummy_method_for_debug( $methods ) {
if ( ! self::is_wp_debug() ) {
unset( $methods['Two_Factor_Dummy'] );
}
return $methods;
}

Where do I find the MO files?

Translations are handled via the WP.org interface https://translate.wordpress.org/projects/wp-plugins/two-factor/

Is there a possibility to set that 2FA is mandatory for single groups or for all?

Yes, it is possible using a filter similar to this #307 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants