Update src/scripts/wizarduserpage.js

Co-Authored-By: RazeLighter777 <jtsuess19146@marmionacademy.org>
This commit is contained in:
Claus Vium 2019-01-29 11:39:27 -06:00 committed by GitHub
parent 1d7854541b
commit 94bab172f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ define(["loading", "globalize", "dashboardcss", "emby-input", "emby-button", "em
var page = this,
apiClient = getApiClient();
apiClient.getJSON(apiClient.getUrl("Startup/User")).then(function(user) {
page.querySelector("#txtUsername").value = user.Name || "",
page.querySelector("#txtUsername").value = user.Name || "";
page.querySelector("#txtManualPassword").value = user.Password || "";
loading.hide();
})