HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //home/commissionseast.org.uk/public_html/wp-content/plugins/sg-security/templates/backup-codes.php
<form name="sgs2fa_form" id="loginform" action="<?php echo esc_url( $args['redirect_to'] ); ?>" method="post">
	<h1><?php esc_html_e( 'Save the Backup Codes', 'sg-security' ); ?></h1>
	<br />
	<p class="sg-2fa-title"><?php esc_html_e( 'Important! In case you lose or change your phone and you no longer have access to the Authenticator app, you can use one of the codes below to log in.', 'sg-security' ); ?></p>
	<br />
	<p><b><?php esc_html_e( 'Save the codes to make sure that you don’t end up locked out of this website.', 'sg-security' ); ?></b> <?php esc_html_e( 'Each code can only be used once.', 'sg-security' ); ?></p>

	<?php if ( ! empty( $args['backup_codes'] ) ) : ?>
		<div class="qr-section" style="text-align: center">
			<pre style="margin: 20px;"><code style="background: #2b2b2b; color: #f8f8f2;"><?php echo implode( "\n", array_map( 'esc_html', $args['backup_codes'] ) ); ?></code></pre>
		</div>
	<?php endif ?>
	<div class="backup_codes_written" style="text-align: left">
		<input name="backup_codes_checkbox" type="checkbox" id="backup_codes_checkbox" onchange="document.getElementById('saved_codes').disabled = !this.checked;" />
		<label for="backup_codes_checkbox"><?php esc_html_e( 'I have saved my backup codes.', 'sg-security' ); ?></label>
	</div>
	<br />
	<button id="saved_codes" disabled="disabled" href="<?php echo esc_url( $args['redirect_to'] ); ?>" class="button button-primary"><?php esc_html_e( 'Continue', 'sg-security' ); ?></button>
</form>