Poor man's quoting fix for auth proxy in french
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user