diff --git a/Ombi.UI/Views/Admin/Authentication.cshtml b/Ombi.UI/Views/Admin/Authentication.cshtml
index 4af683167..5c0a2dda2 100644
--- a/Ombi.UI/Views/Admin/Authentication.cshtml
+++ b/Ombi.UI/Views/Admin/Authentication.cshtml
@@ -87,16 +87,7 @@
changeDisabledStatus($('#UsePassword'), @Model.UserAuthentication.ToString().ToLower(), $('#passLabel'));
- if ($('#PlexAuthToken')) {
- loadUserList();
- }
-
- $('#refreshUsers').click(function (e) {
- e.preventDefault();
- loadUserList();
- });
-
$('#mainForm').on('click', '#userAuth', function () {
var checked = this.checked;
changeDisabledStatus($('#UsePassword'), checked, $('#passLabel'));
@@ -112,41 +103,5 @@
$label.css("color", "grey");
}
}
-
-
- function loadUserList() {
- $('#users').html("");
- var url = "getusers";
- $.ajax({
- type: "Get",
- url: url,
- dataType: "json",
- success: function (response) {
-
- $('#users').html("");
- if(!response.result){
- generateNotify(response.message,"danger");
- $('#users').append("");
- return;
- }
- if (response.users.length > 0) {
- $(response.users).each(function () {
- $('#users').append("");
- });
- } else {
- $('#users').append("");
- }
- },
- error: function (e) {
- console.log(e);
- generateNotify("Something went wrong!", "danger");
- $('#users').html("");
- $('#users').append("");
- }
- });
-
- }
-
-
});
\ No newline at end of file