Changeset 6753 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-two-factor/providers/class-wporg-two-factor-totp.php
- Timestamp:
- 02/26/2018 03:56:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-two-factor/providers/class-wporg-two-factor-totp.php
r6735 r6753 17 17 return $instance; 18 18 } 19 20 public function __construct() {21 // Ensure that the Two_Factor_Totp-specific code is added.22 add_action( 'two-factor-user-options-' . __CLASS__, array( $this, 'user_two_factor_options' ) );23 24 return parent::__construct();25 }26 27 /**28 * Returns the name of the provider.29 */30 public function get_label() {31 return _x( 'Time Based One-Time Password (Google Authenticator, Authy, etc)', 'Provider Label', 'wporg' );32 }33 19 }
Note: See TracChangeset
for help on using the changeset viewer.