Skip to content

Commit

Permalink
escape js
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbitronics authored Feb 4, 2025
1 parent 4310f3a commit df09140
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
verifyBtn.classList.add('mdl-color-text--red');
verifyBtn.classList.remove('mdl-color-text--primary');
verifyBtn.textContent = '{{ '{mfa:button_try_again}'|trans }}';
verifyBtn.textContent = '{{ '{mfa:button_try_again}'|trans|escape('js') }}';
}
function submitForm(webAuthnResponse) {
Expand Down

0 comments on commit df09140

Please sign in to comment.