From c0d1a915a056b89b24f567664e7c02daf40deb2e Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 28 Oct 2020 23:23:50 -0400 Subject: [PATCH] bugfix: external login component should not bother fetching idplists if custos/cilogon are not configured --- .../src/components/User/ExternalIdentities/ExternalLogin.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/components/User/ExternalIdentities/ExternalLogin.vue b/client/src/components/User/ExternalIdentities/ExternalLogin.vue index 67e99aecbb3..e99a1a5d110 100644 --- a/client/src/components/User/ExternalIdentities/ExternalLogin.vue +++ b/client/src/components/User/ExternalIdentities/ExternalLogin.vue @@ -226,7 +226,10 @@ export default { }, created() { this.rememberIdp = this.getIdpPreference() !== null; - this.getCILogonIdps(); + /* Only fetch CILogonIDPs if custos/cilogon configured */ + if (this.cilogonListShow) { + this.getCILogonIdps(); + } }, };