Merge pull request #6 from auster9021/patch-1

Update StpLogic.java
This commit is contained in:
click33 2021-01-12 01:32:56 +08:00 committed by GitHub
commit 866c0de19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ public class StpLogic {
if(tokenValue == null && config.getIsReadBody() == true){
tokenValue = request.getParameter(keyTokenName);
}
// 3. 尝试从header读取
// 3. 尝试从header读取
if(tokenValue == null && config.getIsReadHead() == true){
tokenValue = request.getHeader(keyTokenName);
}