mirror of https://github.com/go-gitea/gitea.git
Backport #33833 by Vinoth-kumar-Ganesan when the passkey auth and register was disabled the unwanted ui container was show Co-authored-by: Vinoth Kumar <103478407+Vinoth-kumar-Ganesan@users.noreply.github.com> Co-authored-by: Vinoth414 <103478407+Vinoth414@users.noreply.github.com>
This commit is contained in:
parent
869ee4fc38
commit
523a84e5d0
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue