diff --git a/providers/class-two-factor-totp.php b/providers/class-two-factor-totp.php index 8579d2a4..003a9774 100644 --- a/providers/class-two-factor-totp.php +++ b/providers/class-two-factor-totp.php @@ -359,7 +359,7 @@ public function user_two_factor_options( $user ) { // Focus the auth code input when the checkbox is clicked. document.getElementById('enabled-Two_Factor_Totp').addEventListener('click', function(e) { if ( e.target.checked ) { - document.getElementById('two-factor-totp-augthcode').focus(); + document.getElementById('two-factor-totp-authcode').focus(); } });