parent
fd328eef2a
commit
fd683e9d71
|
@ -104,7 +104,7 @@ async function initWebAuthn(obj: any) {
|
|||
function error(message: string) {
|
||||
const el = document.getElementById('msg');
|
||||
resetMsgBox(el);
|
||||
el.innerHTML = message;
|
||||
el.textContent = message;
|
||||
el.classList.add('alert');
|
||||
el.classList.add('alert-danger');
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ function success(message: string) {
|
|||
|
||||
const el = document.getElementById('msg');
|
||||
resetMsgBox(el);
|
||||
el.innerHTML = message;
|
||||
el.textContent = message;
|
||||
el.classList.add('alert');
|
||||
el.classList.add('alert-success');
|
||||
}
|
||||
|
|
|
@ -3844,7 +3844,7 @@
|
|||
"message": "WebAuthn is not supported in this browser."
|
||||
},
|
||||
"webAuthnSuccess": {
|
||||
"message": "<strong>WebAuthn verified successfully!</strong><br>You may close this tab."
|
||||
"message": "WebAuthn verified successfully! You may close this tab."
|
||||
},
|
||||
"hintEqualsPassword": {
|
||||
"message": "Your password hint cannot be the same as your password."
|
||||
|
|
Loading…
Reference in New Issue