diff --git a/ui/js/ui.login.js b/ui/js/ui.login.js index 01622a7e..7a74c10d 100644 --- a/ui/js/ui.login.js +++ b/ui/js/ui.login.js @@ -198,6 +198,11 @@ var UI = (function(UI, $, undefined) { "interrupt": 1 } + if(connection.auth) { + params.auth_password = connection.auth.password; + params.auth_user = connection.auth.user; + } + window.location.href = "index.html?" + $.param(params); });