From ea5dbcb03357a0cf00165ce3ee4c486adde39a07 Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Thu, 9 Jan 2025 12:43:07 +0200 Subject: [PATCH] A placeholder for backup codes as well --- providers/class-two-factor-backup-codes.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/providers/class-two-factor-backup-codes.php b/providers/class-two-factor-backup-codes.php index fd2e04ee..0825da41 100644 --- a/providers/class-two-factor-backup-codes.php +++ b/providers/class-two-factor-backup-codes.php @@ -334,11 +334,14 @@ public static function codes_remaining_for_user( $user ) { */ public function authentication_page( $user ) { require_once ABSPATH . '/wp-admin/includes/template.php'; + + $code_placeholder = str_repeat( '0', self::NUMBER_OF_CODES ); + ?>


- +