mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-05-03 12:17:57 +08:00
fix(code): 修复 StpUtil.setTokenValue("xxx"); 方法 loginModel.getIsWriteHeader() 空指针的问题 fixes: IBKSM0
This commit is contained in:
parent
29c1bd9436
commit
14c57c6599
@ -194,7 +194,10 @@ public class StpLogic {
|
||||
if(SaFoxUtil.isEmpty(tokenValue)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// 构建一下
|
||||
loginModel.build(getConfigOrGlobal());
|
||||
|
||||
// 1、将 token 写入到当前请求的 Storage 存储器里
|
||||
setTokenValueToStorage(tokenValue);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user