不再支持关闭会话,并修复了修改密码页面无法自动重置无效旧会话的bug

This commit is contained in:
2023-12-16 09:45:46 +00:00
parent eedf717f10
commit 4203d0e786
4 changed files with 6 additions and 12 deletions

View File

@ -171,7 +171,6 @@
<div class="dropdown-content">
<a href="/login">Login</a>
<a href="#" onclick="(async () => { await Request('logout'); await UpdateUserInfo(); })();">Logout</a>
<a href="#" onclick="localStorage.removeItem('session_token'); localStorage.removeItem('outhentication_key'); localStorage.removeItem('operation_count'); window.close();">Close Session</a>
<a href="/register">Register</a>
<a href="/passwd">Change Password</a>
<a href="#">Admin Panel</a>