Removing unwanted ui container (#33833)

when the passkey auth and register was disabled
the unwanted ui container was show

Co-authored-by: Vinoth414 <103478407+Vinoth414@users.noreply.github.com>
This commit is contained in:
Vinoth Kumar 2025-03-09 22:08:11 +05:30 committed by GitHub
parent 3f1f808b9e
commit 3e53b01143
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@
</div>
</div>
{{if or .EnablePasskeyAuth .ShowRegistrationButton}}
<div class="ui container fluid">
<div class="ui attached segment header top tw-max-w-2xl tw-m-auto tw-flex tw-flex-col tw-items-center">
{{if .EnablePasskeyAuth}}
@ -74,3 +75,4 @@
{{end}}
</div>
</div>
{{end}}