Hide the sso buttons if registration is not allowed
Deploy Beta / unit-tests (push) Failing after 13s
Deploy Beta / deploy-beta (push) Skipped
Unit Tests / test (push) Failing after 12s

This commit is contained in:
2026-08-05 08:59:01 -05:00
parent 9e1449f0db
commit 508f11b558
+7 -5
View File
@@ -294,11 +294,13 @@ const SignIn = (): JSX.Element => {
<StyledButton type="submit" disabled={formik.isSubmitting}> <StyledButton type="submit" disabled={formik.isSubmitting}>
Sign In Sign In
</StyledButton> </StyledButton>
<SsoButtons {registrationEnabled && (
intent="login" <SsoButtons
providers={oauthProviders} intent="login"
disabled={formik.isSubmitting} providers={oauthProviders}
/> disabled={formik.isSubmitting}
/>
)}
</Form> </Form>
)} )}
</Formik> </Formik>