PluginProbe
Login Lockdown & Protection / 2.12
Login Lockdown & Protection v2.12
trunk 1.1 1.2 1.3 1.4 1.5 1.6 1.6.1 1.7.1 1.8 1.8.1 1.82 1.83 2.0 2.02 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 All 28 releases
login-lockdown / interface / tab_2fa.php

tab_2fa.php in Login Lockdown & Protection 2.12, at interface/tab_2fa.php

39 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Login Lockdown
5 * https://wploginlockdown.com/
6 * (c) WebFactory Ltd, 2022 - 2024, www.webfactoryltd.com
7 */
8
9 class LoginLockdown_Tab_2FA extends LoginLockdown
10 {
11 static function display()
12 {
13 echo '<div class="tab-content">';
14
15 echo '<div class="notice-box-info">
16 The 2FA Features allows you to add an extra level of security to your website, requiring users logging in for the first time from a device to confirm their login by clicking a link that is emailed to them. Even if someone steals the username &amp; password they still won\'t be able to login without access to the account email. <a href="#" class="open-pro-dialog" data-pro-feature="2fa">Get PRO now</a> to use the 2FA feature.
17 </div>';
18
19 echo '<table class="form-table"><tbody>';
20
21 echo '<tr valign="top">
22 <th scope="row"><label for="2fa_email">Email Based<br>Two Factor Authentication</label><a title="This feature is available in the PRO version. Click for details." href="#" data-feature="2fa_email" class="open-upsell pro-label">PRO</a></th>
23 <td>';
24 echo '<div class="open-upsell open-upsell-block" data-feature="2fa_email">';
25 LoginLockdown_Utility::create_toggle_switch('2fa_email', array('saved_value' => 0, 'option_key' => ''));
26 echo '</div>';
27 echo '<br /><span>After the correct username &amp; password are entered the user will receive an email with a one-time link to confirm the login.<br>In case somebody steals the username &amp; password they still won\'t be able to login without access to the account email.</span>';
28 echo '</td></tr>';
29
30 echo '<tr><td></td><td>';
31 echo '<p class="submit"><a class="button button-primary button-large open-upsell" data-feature="2fa-save">Save Changes <i class="loginlockdown-icon loginlockdown-checkmark"></i></a></p>';
32 echo '</td></tr>';
33
34 echo '</tbody></table>';
35
36 echo '</div>';
37 } // display
38 } // class LoginLockdown_Tab_2FA
39