From bebc7d524f9bf3c8d902d92a90ede443f7c60a84 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Wed, 25 May 2016 09:15:26 +0100 Subject: [PATCH] Fixed #241 --- PlexRequests.UI/Views/Admin/Authentication.cshtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PlexRequests.UI/Views/Admin/Authentication.cshtml b/PlexRequests.UI/Views/Admin/Authentication.cshtml index aedbf080f..2ad8b1705 100644 --- a/PlexRequests.UI/Views/Admin/Authentication.cshtml +++ b/PlexRequests.UI/Views/Admin/Authentication.cshtml @@ -122,11 +122,11 @@ $('#requestToken').click(function (e) { e.preventDefault(); - var url = createBaseUrl(base, "admin/requestauth"); + var url = createBaseUrl(base, "requestauth"); var $form = $("#mainForm"); $.ajax({ type: $form.prop("method"), - url: url, + url: "requestauth", data: $form.serialize(), dataType: "json", success: function (response) { @@ -149,11 +149,11 @@ function loadUserList() { $('#users').html(""); - var url = "admin/getusers"; + var url = "getusers"; url = createBaseUrl(base, url); $.ajax({ type: "Get", - url: url, + url: "getusers"1, dataType: "json", success: function (response) {