PluginProbe ʕ •ᴥ•ʔ
Security Optimizer – The All-In-One Protection Plugin / 1.6.2
Security Optimizer – The All-In-One Protection Plugin v1.6.2
1.6.2 1.6.1 trunk 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0
sg-security / templates / 2fa-login-backup-code.php
sg-security / templates Last commit date
partials 4 weeks ago 2fa-initial-setup-form.php 4 weeks ago 2fa-login-backup-code.php 4 weeks ago 2fa-login.php 4 weeks ago backup-code-used.php 4 weeks ago backup-codes.php 4 weeks ago directory-hardening.tpl 4 weeks ago error.php 4 weeks ago weekly_report.php 4 weeks ago whitelist-file.tpl 4 weeks ago xml-rpc.tpl 4 weeks ago xss-headers.tpl 4 weeks ago
2fa-login-backup-code.php
32 lines
1 <style>#login { width:360px; padding:5% 0 0; }</style>
2
3 <?php if ( ! empty( $args['error'] ) ) : ?>
4 <div id="login_error"><strong><?php echo esc_html( $args['error'] ); ?></strong><br /></div>
5 <?php endif ?>
6
7 <form name="sgs2fa_form" id="loginform" action="<?php echo esc_url( $args['action'] ); ?>" method="post">
8 <h1><?php esc_html_e( '2-factor Authentication', 'sg-security' ); ?></h1>
9 <br />
10 <p class="sg-2fa-title"><?php esc_html_e( 'In order to log in, please enter one of the backup codes you have received on your first login:', 'sg-security' ); ?></p>
11
12 <input type="hidden" name="backup-code-used" value="1" />
13 <p>
14 <br />
15 <label for="sgc2fabackupcode"><?php esc_html_e( 'Backup Code:', 'sg-security' ); ?></label>
16 <input name="sgc2fabackupcode" id="sgc2fabackupcode" class="input" value="" size="20" pattern="[0-9]*" autofocus />
17 </p>
18
19 <?php if ( $args['interim_login'] ) : ?>
20 <input type="hidden" name="interim-login" value="1" />
21 <?php else : ?>
22 <input type="hidden" name="redirect_to" value="<?php echo esc_url( $args['redirect_to'] ); ?>" />
23 <?php endif; ?>
24
25 <input type="hidden" name="rememberme" id="rememberme" value="<?php echo esc_html( $args['rememberme'] ); ?>" />
26 <p>
27 <br />
28 <?php submit_button( __( 'Authenticate', 'sg-security' ) ); ?>
29 </p>
30 </form>
31
32