mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +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:
		@@ -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