NIFIREG-361 - Removed old code.
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 @@
* 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 () {
});