mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-22 03:27:23 +08:00
fix(code): 修复 StpUtil.setTokenValue("xxx"); 方法 loginModel.getIsWriteHeader() 空指针的问题。 closes: #IBKSM0
This commit is contained in:
@@ -190,7 +190,7 @@ public class StpLogic {
|
|||||||
*/
|
*/
|
||||||
public void setTokenValue(String tokenValue, SaLoginModel loginModel){
|
public void setTokenValue(String tokenValue, SaLoginModel loginModel){
|
||||||
|
|
||||||
// 先判断一下,如果提供 token 为空,则不执行任何动作 .
|
// 先判断一下,如果提供 token 为空,则不执行任何动作 ..
|
||||||
if(SaFoxUtil.isEmpty(tokenValue)) {
|
if(SaFoxUtil.isEmpty(tokenValue)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user