mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 05:56:14 +01:00
63b53af933
Fix #19809 --------- Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> Co-authored-by: jackHay22 <jack@allspice.io>
24 lines
857 B
Handlebars
24 lines
857 B
Handlebars
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
|
<div class="new-menu-inner">
|
|
<a class="{{if .PageIsLogin}}active {{end}}item" rel="nofollow" href="{{AppSubUrl}}/user/login">
|
|
{{.locale.Tr "auth.login_userpass"}}
|
|
</a>
|
|
<a class="{{if .PageIsSignUp}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/sign_up">
|
|
{{.locale.Tr "auth.create_new_account"}}
|
|
</a>
|
|
{{if .EnableOpenIDSignIn}}
|
|
<a class="{{if .PageIsLoginOpenID}}active {{end}}item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
|
|
{{svg "fontawesome-openid"}}
|
|
OpenID
|
|
</a>
|
|
{{end}}
|
|
{{if .EnableSSPI}}
|
|
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
|
|
{{svg "fontawesome-windows"}}
|
|
SSPI
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
{{end}}
|