mirror of
https://github.com/go-gitea/gitea.git
synced 2025-05-05 15:32:53 +00:00
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:
parent
3f1f808b9e
commit
3e53b01143
@ -59,6 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{if or .EnablePasskeyAuth .ShowRegistrationButton}}
|
||||||
<div class="ui container fluid">
|
<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">
|
<div class="ui attached segment header top tw-max-w-2xl tw-m-auto tw-flex tw-flex-col tw-items-center">
|
||||||
{{if .EnablePasskeyAuth}}
|
{{if .EnablePasskeyAuth}}
|
||||||
@ -74,3 +75,4 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{end}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user