From 34c2a16363e0c0e57ca5526ebd9374bac3bdb067 Mon Sep 17 00:00:00 2001 From: Richard Wei <54336863+WaysonWei@users.noreply.github.com> Date: Thu, 30 Sep 2021 15:55:08 +1300 Subject: [PATCH] fix custom logo not updated (#5634) --- app/portainer/views/auth/authController.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/portainer/views/auth/authController.js b/app/portainer/views/auth/authController.js index 5a095cc2f..95f212184 100644 --- a/app/portainer/views/auth/authController.js +++ b/app/portainer/views/auth/authController.js @@ -249,6 +249,10 @@ class AuthenticationController { this.generateOAuthLoginURI(); return; } + if(!this.logo){ + await this.StateManager.initialize(); + this.logo = this.StateManager.getState().application.logo; + } this.generateOAuthLoginURI(); if (this.$stateParams.logout || this.$stateParams.error) {