From 33b40fb87fc64263bf91eae8022cdf97bb1840a6 Mon Sep 17 00:00:00 2001 From: Matt Gilman Date: Thu, 4 Jan 2018 15:54:19 -0500 Subject: [PATCH] NIFI-4739: - Ensuring the logout action is using a relative link. This closes #2374 --- .../js/nf/canvas/controllers/nf-ng-canvas-header-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-header-controller.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-header-controller.js index 6e4a30bf79..2c515eb037 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-header-controller.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-header-controller.js @@ -118,7 +118,7 @@ this.logoutCtrl = { logout: function () { nfStorage.removeItem("jwt"); - window.location = '/nifi'; + window.location = '../nifi/login'; } }; }