2019-11-23 08:33:31 +09:00
|
|
|
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
2017-12-31 09:47:52 +09:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
2020-11-27 04:33:28 +09: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">
|
|
|
|
<i class="fa fa-openid"></i>
|
|
|
|
OpenID
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{if .EnableSSPI}}
|
|
|
|
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
|
|
|
|
<i class="fa fa-windows"></i>
|
|
|
|
SSPI
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2017-03-17 23:16:08 +09:00
|
|
|
</div>
|
2017-10-05 01:57:00 +09:00
|
|
|
{{end}}
|