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) {