diff --git a/src/templates/proxyauth-login.ejs b/src/templates/proxyauth-login.ejs index cf705b482..9ff5d2413 100644 --- a/src/templates/proxyauth-login.ejs +++ b/src/templates/proxyauth-login.ejs @@ -202,10 +202,10 @@ - +
+ + +
@@ -221,12 +221,13 @@ var username = document.getElementById('inputUsername').value; var password = document.getElementById('inputPassword').value; + var totpToken = document.getElementById('inputTotpToken').value; fetch('/login', { method: 'POST', headers: { 'Content-Type': 'application/json' }, redirect: 'manual', - body: JSON.stringify({ username: username, password: password }) + 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 }}';