Skip to content

Commit

Permalink
fix(ui): Fix conditional for legal checkbox on Sign Up start
Browse files Browse the repository at this point in the history
  • Loading branch information
octoper committed Oct 31, 2024
1 parent eadc5de commit d8648b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/sign-up/steps/start.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export function SignUpStart() {

{options.socialButtonsPlacement === 'bottom' ? connectionsWithSeperator.reverse() : null}

{!(hasConnection && hasIdentifier && legalConsentEnabled) && <LegalAcceptedField />}
{legalConsentEnabled && hasConnection && !hasIdentifier && <LegalAcceptedField />}

{userSettings.signUp.captcha_enabled ? <SignUp.Captcha className='empty:hidden' /> : null}
</Card.Body>
Expand Down

0 comments on commit d8648b8

Please sign in to comment.