thenatog commented on code in PR #6295:
URL: https://github.com/apache/nifi/pull/6295#discussion_r951843630
##########
nifi-registry/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/services/nf-registry.auth-guard.service.js:
##########
@@ -78,6 +78,11 @@ NfRegistryUsersAdministrationAuthGuard.prototype = {
// render the logout button if there is a token
locally
if (self.nfStorage.getItem('jwt') !== null) {
self.nfRegistryService.currentUser.canLogout =
true;
+
+ // Update Registry Configuration following
successful login
+
self.nfRegistryApi.getRegistryConfig().subscribe(function (registryConfig) {
Review Comment:
An unfortunate amount of duplication in this file, maybe it could be
refactored in future.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]