fix: guard profile auth and logout
This commit is contained in:
+2
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user