This commit is contained in:
Hugh Nimmo-Smith 2023-01-09 17:44:14 +00:00
parent 53c3e8946f
commit f3772cb833

View file

@ -176,7 +176,7 @@ fun SocialLoginButtonsView.render(loginMode: LoginMode, mode: SocialLoginButtons
SsoState.Fallback -> null
is SsoState.IdentityProviders -> state.providers.sorted()
}
this.hasOidcCompatibilityFlow = (loginMode is LoginMode.Sso && loginMode.hasOidcCompatibilityFlow)
|| (loginMode is LoginMode.SsoAndPassword && loginMode.hasOidcCompatibilityFlow)
this.hasOidcCompatibilityFlow = (loginMode is LoginMode.Sso && loginMode.hasOidcCompatibilityFlow) ||
(loginMode is LoginMode.SsoAndPassword && loginMode.hasOidcCompatibilityFlow)
this.listener = SocialLoginButtonsView.InteractionListener { listener(it) }
}