Infinite loop on WebUI when node stopped in cluster (PB1)
This commit resolves "Problem 1" described in issue
This closes
}).fail(function (xhr, status, error) {
// there is no anonymous access and we don't know this user - open the login page which handles login/registration/etc
if (xhr.status === 401) {
+ nfStorage.removeItem('jwt');
window.location = '../nifi/login';
} else {
deferred.reject(xhr, status, error);
