summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/user/auth/signin_navbar.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/user/auth/signin_navbar.tmpl b/templates/user/auth/signin_navbar.tmpl
index f5df928ce3..3102eb8c5c 100644
--- a/templates/user/auth/signin_navbar.tmpl
+++ b/templates/user/auth/signin_navbar.tmpl
@@ -1,11 +1,11 @@
+{{if .EnableOpenIDSignIn}}
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
<a class="{{if .PageIsLogin}}active{{end}} item" href="{{AppSubUrl}}/user/login">
{{.i18n.Tr "auth.login_userpass"}}
</a>
- {{if .EnableOpenIDSignIn}}
- <a class="{{if .PageIsLoginOpenID}}active{{end}} item" href="{{AppSubUrl}}/user/login/openid">
- <i class="fa fa-openid"></i>
- &nbsp;OpenID
- </a>
- {{end}}
+ <a class="{{if .PageIsLoginOpenID}}active{{end}} item" href="{{AppSubUrl}}/user/login/openid">
+ <i class="fa fa-openid"></i>
+ &nbsp;OpenID
+ </a>
</div>
+{{end}}