Skip to content

Commit

Permalink
0
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzhongxue committed Oct 16, 2024
1 parent 3681cb5 commit 63a95c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/modules/inc/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
<li><a href="/logout" class="logout"><i class="iconfont icon-power"></i> 登出账户</a></li>
</ul>
<ul sec:authorize="isAnonymous()">
<li><a href="/console"><i class="iconfont icon-log-in"></i> 登录账户</a></li>
<li>
<a href="/login"
onclick="this.href = '/login?redirect_uri=' + encodeURIComponent(window.location.href)">
<i class="iconfont icon-log-in"></i> 登录账户</a>
</li>
</ul>
</div>
<span class="iconfont icon-user" id="aside-btn"></span>
Expand Down

0 comments on commit 63a95c9

Please sign in to comment.