Skip to content

Commit

Permalink
Remove dead logic. Tested locally using basic auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Dec 2, 2024
1 parent d4a905d commit ea09711
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions solr/webapp/web/js/angular/controllers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ea09711

Please sign in to comment.