mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
@@ -104,7 +104,7 @@ async function initWebAuthn(obj: any) {
|
|||||||
function error(message: string) {
|
function error(message: string) {
|
||||||
const el = document.getElementById('msg');
|
const el = document.getElementById('msg');
|
||||||
resetMsgBox(el);
|
resetMsgBox(el);
|
||||||
el.innerHTML = message;
|
el.textContent = message;
|
||||||
el.classList.add('alert');
|
el.classList.add('alert');
|
||||||
el.classList.add('alert-danger');
|
el.classList.add('alert-danger');
|
||||||
}
|
}
|
||||||
@@ -114,7 +114,7 @@ function success(message: string) {
|
|||||||
|
|
||||||
const el = document.getElementById('msg');
|
const el = document.getElementById('msg');
|
||||||
resetMsgBox(el);
|
resetMsgBox(el);
|
||||||
el.innerHTML = message;
|
el.textContent = message;
|
||||||
el.classList.add('alert');
|
el.classList.add('alert');
|
||||||
el.classList.add('alert-success');
|
el.classList.add('alert-success');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3844,7 +3844,7 @@
|
|||||||
"message": "WebAuthn is not supported in this browser."
|
"message": "WebAuthn is not supported in this browser."
|
||||||
},
|
},
|
||||||
"webAuthnSuccess": {
|
"webAuthnSuccess": {
|
||||||
"message": "<strong>WebAuthn verified successfully!</strong><br>You may close this tab."
|
"message": "WebAuthn verified successfully! You may close this tab."
|
||||||
},
|
},
|
||||||
"hintEqualsPassword": {
|
"hintEqualsPassword": {
|
||||||
"message": "Your password hint cannot be the same as your password."
|
"message": "Your password hint cannot be the same as your password."
|
||||||
|
|||||||
Reference in New Issue
Block a user