更新登录逻辑,等待数据库进一步完善
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
try {
|
||||
const resp = await fetch('/accounts/logout/', {
|
||||
method: 'POST',
|
||||
credentials: 'same-origin',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'X-CSRFToken': csrftoken || ''
|
||||
|
||||
Reference in New Issue
Block a user