scottyaslan commented on a change in pull request #259: NIFIREG-361 - Improved 
handling of the /access/logout endpoint.
URL: https://github.com/apache/nifi-registry/pull/259#discussion_r382738637
 
 

 ##########
 File path: 
nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry.js
 ##########
 @@ -71,9 +71,11 @@ NfRegistry.prototype = {
      * Invalidate old tokens and route to login page
      */
     logout: function () {
+        this.nfRegistryApi.deleteToLogout().subscribe(function () {
+
+        });
         delete this.nfRegistryService.currentUser.identity;
         delete this.nfRegistryService.currentUser.anonymous;
-        this.nfStorage.removeItem('jwt');
         this.router.navigateByUrl('login');
 
 Review comment:
   ```suggestion
           
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to