From ea09711369ad7dea0582e3fca7c5c2325a5664e1 Mon Sep 17 00:00:00 2001 From: Eric Pugh Date: Mon, 2 Dec 2024 09:55:07 -0500 Subject: [PATCH] Remove dead logic. Tested locally using basic auth. --- solr/webapp/web/js/angular/controllers/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/solr/webapp/web/js/angular/controllers/index.js b/solr/webapp/web/js/angular/controllers/index.js index 20a89edebd9..e7b09683e8f 100644 --- a/solr/webapp/web/js/angular/controllers/index.js +++ b/solr/webapp/web/js/angular/controllers/index.js @@ -23,12 +23,6 @@ solrAdminApp.controller('IndexController', function($scope, System, Cores, Const const releaseDate = parse_release_date($scope.system.lucene['solr-impl-version']) $scope.releaseDaysOld = (new Date() - releaseDate)/1000/60/60/24; - if ("username" in data.security) { - // Needed for Kerberos, since this is the only place from where - // Kerberos username can be obtained. - sessionStorage.setItem("auth.username", data.security.username); - } - if (data.security.authenticationPlugin) { $scope.isSecurityEnabled = true }