fix: guard profile auth and logout

This commit is contained in:
rain
2026-07-11 09:32:06 +08:00
parent 8b896f4ba3
commit f60cc67749
5 changed files with 82 additions and 4 deletions
+2 -2
View File
@@ -78,7 +78,7 @@
><span>帮助与服务</span><b>帮助、反馈、推广</b></a
>
<a class="logout-link" href="#logout" data-logout-open
><span>退出登录</span><b>返回登录</b></a
><span>退出登录</span><b>返回</b></a
>
</div>
<div class="side-card todo-card tilt-card" id="messages">
@@ -355,7 +355,7 @@
<button class="btn ghost magnetic" type="button" data-logout-close>
取消
</button>
<a class="btn primary magnetic" href="login.html">确认退出</a>
<a class="btn primary magnetic" href="index.html" data-logout-confirm>确认退出</a>
</div>
</div>
</div>