diff --git a/modules/webapp/src/main/elm/Page/Login/View.elm b/modules/webapp/src/main/elm/Page/Login/View.elm index 3539a35b..1fc89e39 100644 --- a/modules/webapp/src/main/elm/Page/Login/View.elm +++ b/modules/webapp/src/main/elm/Page/Login/View.elm @@ -101,7 +101,7 @@ view texts flags currentTheme model = else renderOAuthButtons texts flags model - , renderProxyAuthButton texts + , renderProxyAuthButton texts flags , resultMessage texts model , renderLangAndSignup texts flags ] @@ -190,10 +190,11 @@ renderOAuthButton texts flags item = ] -renderProxyAuthButton : Texts -> Html Msg -renderProxyAuthButton texts = +renderProxyAuthButton : Texts -> Flags -> Html Msg +renderProxyAuthButton texts flags = div [ class "flex flex-row space-x-2 flex-wrap items-center justify-center" + , classList [ ( "hidden", not flags.config.proxyAuthEnabled ) ] ] [ a [ class S.primaryBasicButton