We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 141d1a2 commit 54243eeCopy full SHA for 54243ee
templates/base/head_navbar.tmpl
@@ -192,7 +192,7 @@
192
{{svg "octicon-person"}} {{.i18n.Tr "register"}}
193
</a>
194
{{end}}
195
- <a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="{{AppSubUrl}}/user/login?redirect_to={{.CurrentURL}}">
+ <a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="{{AppSubUrl}}/user/login{{if not .PageIsSignIn}}?redirect_to={{.CurrentURL}}{{end}}">
196
{{svg "octicon-sign-in"}} {{.i18n.Tr "sign_in"}}
197
198
</div><!-- end anonymous right menu -->
0 commit comments