diff --git a/PlexRequests.UI/Views/Admin/Authentication.cshtml b/PlexRequests.UI/Views/Admin/Authentication.cshtml index d25094b27..aedbf080f 100644 --- a/PlexRequests.UI/Views/Admin/Authentication.cshtml +++ b/PlexRequests.UI/Views/Admin/Authentication.cshtml @@ -122,7 +122,7 @@ $('#requestToken').click(function (e) { e.preventDefault(); - var url = createBaseUrl(base, "requestauth"); + var url = createBaseUrl(base, "admin/requestauth"); var $form = $("#mainForm"); $.ajax({ type: $form.prop("method"), @@ -149,7 +149,7 @@ function loadUserList() { $('#users').html(""); - var url = "getusers"; + var url = "admin/getusers"; url = createBaseUrl(base, url); $.ajax({ type: "Get",