You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by js...@apache.org on 2018/01/08 20:06:49 UTC

nifi git commit: NIFI-4739: - Ensuring the logout action is using a relative link.

Repository: nifi
Updated Branches:
  refs/heads/master a8817e023 -> 33b40fb87


NIFI-4739:
- Ensuring the logout action is using a relative link.

This closes #2374


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/33b40fb8
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/33b40fb8
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/33b40fb8

Branch: refs/heads/master
Commit: 33b40fb87fc64263bf91eae8022cdf97bb1840a6
Parents: a8817e0
Author: Matt Gilman <ma...@gmail.com>
Authored: Thu Jan 4 15:54:19 2018 -0500
Committer: Jeff Storck <jt...@gmail.com>
Committed: Mon Jan 8 15:02:12 2018 -0500

----------------------------------------------------------------------
 .../js/nf/canvas/controllers/nf-ng-canvas-header-controller.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/33b40fb8/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
----------------------------------------------------------------------
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 6e4a30b..2c515eb 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';
                 }
             };
         }