From issues-return-92623-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Fri Feb 21 18:33:07 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 691F6180679 for ; Fri, 21 Feb 2020 19:33:07 +0100 (CET) Received: (qmail 37414 invoked by uid 500); 21 Feb 2020 18:33:06 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 37324 invoked by uid 99); 21 Feb 2020 18:33:06 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Feb 2020 18:33:06 +0000 From: GitBox To: issues@nifi.apache.org Subject: [GitHub] [nifi-registry] scottyaslan commented on a change in pull request #259: NIFIREG-361 - Improved handling of the /access/logout endpoint. Message-ID: <158230998650.13999.6848200938177915919.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Fri, 21 Feb 2020 18:33:06 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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_r382738485 ########## 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; 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