Apache Solr open-source search software
SOLR-16991: Fix bug: Concurrent requests failing JWT Auth intermittently (#1949)
Lamine4980fbd1dd89
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex bd51cf030e0..aab89a0a118 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -209,6 +209,8 @@ Bug Fixes* SOLR-16701: Fix race condition on PRS enabled collection deletion (Patson Luk)+* SOLR-16991: Concurrent requests failing JWT authentication in Admin UI intermittently (Lamine Idjeraoui, janhoy)+Dependency Upgrades---------------------diff --git a/solr/webapp/web/js/angular/app.js b/solr/webapp/web/js/angular/app.jsindex 206f246e866..0cb3bf529b9 100644--- a/solr/webapp/web/js/angular/app.js+++ b/solr/webapp/web/js/angular/app.js@@ -592,6 +592,10 @@ solrAdminApp.controller('MainController', function($scope, $route, $rootScope, $$scope.http401 = sessionStorage.getItem("http401");};+ $scope.showHideMenu = function() {+ $scope.http401 = sessionStorage.getItem("http401");+ };+$scope.isMultiDestAlias = function(selectedColl) {return selectedColl && selectedColl.type === 'alias' && selectedColl.collections.includes(',');};diff --git a/solr/webapp/web/js/angular/controllers/login.js b/solr/webapp/web/js/angular/controllers/login.jsindex 0e22100c306..6f1a63a8ef1 100644--- a/solr/webapp/web/js/angular/controllers/login.js+++ b/solr/webapp/web/js/angular/controllers/login.js@@ -18,7 +18,7 @@solrAdminApp.controller('LoginController',['$scope', '$routeParams', '$rootScope', '$location', '$window', 'AuthenticationService', 'Constants',function ($scope, $routeParams, $rootScope, $location, $window, AuthenticationService, Constants) {- $scope.resetMenu("login", Constants.IS_ROOT_PAGE);+ $scope.showHideMenu();$scope.subPath = $routeParams.route;$rootScope.exceptions = {};