PluginProbe ʕ •ᴥ•ʔ
WP 2FA – Two-factor authentication for WordPress / 4.0.0
WP 2FA – Two-factor authentication for WordPress v4.0.0
4.0.0 1.7.1 2.0.0 2.0.1 2.1.0 2.2.0 2.2.1 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.7.0 2.8.0 2.9.0 2.9.1 2.9.2 2.9.3 3.0.0 3.0.1 3.1.0 3.1.1 3.1.1.2 trunk 1.2.0 1.3.0 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.6.0 1.6.1 1.6.2 1.7.0
wp-2fa / templates / wizard / email-verify.php
wp-2fa / templates / wizard Last commit date
backup-codes-display.php 5 days ago backup-codes-generate.php 5 days ago backup-method-footer.php 5 days ago backup-method-selection.php 5 days ago completion.php 5 days ago confirm-close.php 5 days ago email-setup.php 5 days ago email-verify.php 5 days ago index.php 5 days ago method-selection.php 5 days ago modal.php 5 days ago required-intro.php 5 days ago totp-setup.php 5 days ago totp-verify.php 5 days ago welcome.php 5 days ago
email-verify.php
48 lines
1 <?php
2 /**
3 * WP 2FA Wizard Template: Email Verify
4 *
5 * Contains two template IDs:
6 * - wp2fa-email-verify — Verification code input and resend.
7 * - wp2fa-email-verify-footer — Footer buttons for the verify step.
8 *
9 * tmpl-wp2fa-email-verify data:
10 * - description {string} Introductory text.
11 * - codeLabel {string} Label for the code input.
12 * - placeholder {string} Placeholder text (e.g. '000000').
13 * - resendLabel {string} "Send me another code" button text.
14 *
15 * tmpl-wp2fa-email-verify-footer data:
16 * - cancelLabel {string} "Cancel" button text.
17 * - validateLabel {string} "Validate & Save" button text.
18 *
19 * @package wp2fa
20 * @since 4.0.0
21 */
22
23 defined( 'ABSPATH' ) || exit;
24 ?>
25 <script type="text/html" id="tmpl-wp2fa-email-verify">
26 <div class="wp2fa-email-verify-wrapper" id="wp2fa-email-verify-wrapper">
27 <p class="wp2fa-email-verify-description" id="wp2fa-email-verify-description">{{{ data.description }}}</p>
28 <label for="wp2fa-email-authcode">{{ data.codeLabel }}</label>
29 <input type="tel" class="wp2fa-email-verify-input" id="wp2fa-email-authcode" name="wp-2fa-email-authcode" pattern="[0-9]*" autocomplete="off" placeholder="{{ data.placeholder }}" />
30 <div class="wp2fa-wizard-verification-response" id="wp2fa-email-verification-response"></div>
31 <button type="button" class="wp2fa-resend-code-link" id="wp2fa-email-resend-code">{{ data.resendLabel }}</button>
32 </div>
33
34 <style>
35 #wp2fa-wizard-title {
36 display: none !important;
37 }
38 .wp2fa-setup-wizard-body {
39 margin-top: -44px !important;
40 }
41 </style>
42 </script>
43
44 <script type="text/html" id="tmpl-wp2fa-email-verify-footer">
45 <button class="wp2fa-wizard-btn wp2fa-wizard-btn-secondary wp-2fa-button-secondary" id="wp2fa-email-verify-btn-cancel" type="button">{{ data.cancelLabel }}</button>
46 <button class="wp2fa-wizard-btn wp2fa-wizard-btn-primary wp-2fa-button-primary" id="wp2fa-email-btn-validate" type="button">{{ data.validateLabel }}</button>
47 </script>
48