updated plugin WP-WebAuthn
version 1.3.1
This commit is contained in:
@ -12,6 +12,9 @@ window.addEventListener('load', () => {
|
||||
if (document.getElementById('wp-webauthn-error-container')) {
|
||||
document.getElementById('wp-webauthn-error-container').insertBefore(document.getElementById('wp-webauthn-error'), null);
|
||||
}
|
||||
if (document.getElementById('wp-webauthn-message-container')) {
|
||||
document.getElementById('wp-webauthn-message-container').insertBefore(document.getElementById('wp-webauthn-message'), null);
|
||||
}
|
||||
})
|
||||
|
||||
// Update authenticator list
|
||||
@ -296,6 +299,7 @@ jQuery('#wwa-bind').click((e) => {
|
||||
|
||||
// Test WebAuthn
|
||||
jQuery('#wwa-test, #wwa-test_usernameless').click((e) => {
|
||||
e.preventDefault();
|
||||
jQuery('#wwa-test, #wwa-test_usernameless').attr('disabled', 'disabled');
|
||||
let button_id = e.target.id;
|
||||
let usernameless = 'false';
|
||||
|
Reference in New Issue
Block a user