Skip to content

Commit

Permalink
Fix typo in selector
Browse files Browse the repository at this point in the history
  • Loading branch information
thrijith committed Nov 1, 2024
1 parent 7ce0634 commit 8c029af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/class-two-factor-totp.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
});

Expand Down

0 comments on commit 8c029af

Please sign in to comment.