Poor man's quoting fix for auth proxy in french

This commit is contained in:
Johannes Zellner
2021-03-23 20:59:01 +01:00
parent 0bd250a34b
commit 3c527b7064
+1 -1
View File
@@ -230,7 +230,7 @@
body: JSON.stringify({ username: username, password: password, totpToken: totpToken })
}).then(function (response) {
if (response.status === 401 || response.status === 403) {
document.getElementById('message').innerText = '{{ login.errorIncorrectCredentials }}';
document.getElementById('message').innerText = "{{ login.errorIncorrectCredentials }}"; // FIXME this needs proper escaping for translated strings, single quotes break easily!
return;
}