This is an automated email from the ASF dual-hosted git repository. aboda pushed a commit to branch NIFIREG-371-RC1 in repository https://gitbox.apache.org/repos/asf/nifi-registry.git
commit 528dcdd442ccad9b32da46707e42dbe43ae07ab5 Author: Nathan Gough <[email protected]> AuthorDate: Fri Feb 14 10:50:00 2020 -0500 NIFIREG-361 - Removed old code. --- .../nifi-registry-web-ui/src/main/webapp/nf-registry.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry.js b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry.js index 1bd5e28..371b2de 100644 --- a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry.js +++ b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry.js @@ -71,19 +71,6 @@ NfRegistry.prototype = { * Invalidate old tokens and route to login page */ logout: function () { - /** - $.ajax({ - type: 'DELETE', - url: '../nifi-registry-api/access/logout', - }).done(function () { - delete this.nfRegistryService.currentUser.identity; - delete this.nfRegistryService.currentUser.anonymous; - this.nfStorage.removeItem('jwt'); - this.router.navigateByUrl('login'); - }).fail(nfErrorHandler.handleAjaxError); - **/ - - this.nfRegistryApi.deleteToLogout().subscribe(function () { });
