2019-11-22 16:33:31 -07:00
|
|
|
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
2017-12-30 17:47:52 -07:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
2020-11-26 12:33:28 -07:00
|
|
|
<div class="new-menu-inner">
|
|
|
|
<a class="{{if .PageIsLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login">
|
|
|
|
{{.i18n.Tr "auth.login_userpass"}}
|
|
|
|
</a>
|
|
|
|
{{if .EnableOpenIDSignIn}}
|
|
|
|
<a class="{{if .PageIsLoginOpenID}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
|
2021-05-22 15:29:46 -06:00
|
|
|
{{svg "fontawesome-openid"}}
|
2020-11-26 12:33:28 -07:00
|
|
|
OpenID
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{if .EnableSSPI}}
|
|
|
|
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
|
2021-05-22 15:29:46 -06:00
|
|
|
{{svg "fontawesome-windows"}}
|
2020-11-26 12:33:28 -07:00
|
|
|
SSPI
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2017-03-17 08:16:08 -06:00
|
|
|
</div>
|
2017-10-04 10:57:00 -06:00
|
|
|
{{end}}
|