Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
frontend: remove double separator when password auth is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Aug 13, 2024
1 parent 0d81cfd commit c8afc48
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/src/routes/_account.index.lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,12 @@ function Index(): React.ReactElement {
)}
</div>

<Separator />

{siteConfig.passwordLoginEnabled && (
<AccountManagementPasswordPreview siteConfig={siteConfig} />
<>
<Separator />

<AccountManagementPasswordPreview siteConfig={siteConfig} />
</>
)}

<Separator />
Expand Down

0 comments on commit c8afc48

Please sign in to comment.