nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [nifi-registry] scottyaslan commented on a change in pull request #259: NIFIREG-361 - Improved handling of the /access/logout endpoint.
Date Fri, 21 Feb 2020 18:33:06 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message