1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

frontend: remove double separator when password auth is disabled

This commit is contained in:
Quentin Gliech
2024-08-12 14:08:54 +02:00
parent 0d81cfd014
commit c8afc48e46

View File

@ -79,10 +79,12 @@ function Index(): React.ReactElement {
)}
</div>
<Separator />
{siteConfig.passwordLoginEnabled && (
<AccountManagementPasswordPreview siteConfig={siteConfig} />
<>
<Separator />
<AccountManagementPasswordPreview siteConfig={siteConfig} />
</>
)}
<Separator />