File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ const ThirdPartyAuth = (props) => {
3737 const isSocialAuthActive = ! ! providers . length && ! currentProvider ;
3838 const isEnterpriseLoginDisabled = getConfig ( ) . DISABLE_ENTERPRISE_LOGIN ;
3939 const enterpriseLoginURL = getConfig ( ) . LMS_BASE_URL + ENTERPRISE_LOGIN_URL ;
40+ const isThirdPartyAuthActive = isSocialAuthActive || ( isEnterpriseLoginDisabled && isInstitutionAuthActive ) ;
4041
4142 return (
4243 < >
@@ -61,7 +62,7 @@ const ThirdPartyAuth = (props) => {
6162 </ Hyperlink >
6263 ) }
6364
64- { thirdPartyAuthApiStatus === PENDING_STATE ? (
65+ { thirdPartyAuthApiStatus === PENDING_STATE && isThirdPartyAuthActive ? (
6566 < div className = "mt-4" >
6667 < Skeleton className = "tpa-skeleton" height = { 36 } count = { 2 } />
6768 </ div >
You can’t perform that action at this time.
0 commit comments