Revert "fix: 修复服务端渲染请求缺少csrf token 问题" (#8780)

This reverts commit 24a1738e73.
This commit is contained in:
Jiangjie.Bai
2022-08-19 14:19:47 +08:00
committed by GitHub
parent 24a1738e73
commit 8ae98887ee
2 changed files with 5 additions and 1 deletions

View File

@@ -98,6 +98,9 @@ function doRequestAuth() {
},
error: function (text, data) {
},
beforeSend: function(request) {
request.setRequestHeader("X-JMS-LOGIN-TYPE", "W");
},
flash_message: false, // 是否显示flash消息
})
}