mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-22 01:18:45 +03:00
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:
@ -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}}
|
||||||
|
Reference in New Issue
Block a user