2019-11-23 05:03:31 +05:30
|
|
|
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
2017-12-31 06:17:52 +05:30
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
2020-11-27 01:03:28 +05:30
|
|
|
<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-23 02:59:46 +05:30
|
|
|
{{svg "fontawesome-openid"}}
|
2020-11-27 01:03:28 +05:30
|
|
|
OpenID
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{if .EnableSSPI}}
|
|
|
|
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
|
2021-05-23 02:59:46 +05:30
|
|
|
{{svg "fontawesome-windows"}}
|
2020-11-27 01:03:28 +05:30
|
|
|
SSPI
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2017-03-17 19:46:08 +05:30
|
|
|
</div>
|
2017-10-04 22:27:00 +05:30
|
|
|
{{end}}
|