1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-09 11:08:19 +00:00

Fix SSPI button visibility when SSPI is the only enabled method (#32841)

This commit is contained in:
mevius4
2024-12-15 10:41:36 +09:00
committed by GitHub
parent 1a07ebe549
commit 32059158da
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@
</button>
</div>
{{end}}
{{$showOAuth2Methods := or .OAuth2Providers .EnableOpenIDSignIn}}
{{$showOAuth2Methods := or .OAuth2Providers .EnableOpenIDSignIn .EnableSSPI}}
{{if $showOAuth2Methods}}
<div class="divider divider-text">{{ctx.Locale.Tr "sign_in_or"}}</div>
{{template "user/auth/oauth_container" .}}