We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.40.0
Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "cn.dev33.satoken.stp.SaLoginModel.getIsWriteHeader()" is null
希望能够未登录使用临时Session尤其是通过Redis的分布式Session 以便进行验证码等初始化数据校验存储工作.免去了再去通过做SpringBoot的 HttpSession集成Redis
设置 config.setTokenSessionCheckLogin(false); 使用StpUtil.getAnonTokenSession();获取临时TokenSession ,在StpLogic类中第 171行函数中的SaLoginModel由于没有初始化IsWriteHeader,导致null调用报错,
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >
The text was updated successfully, but these errors were encountered:
1.40.0:
1.39.0
Sorry, something went wrong.
已确认问题,下一版本修订
No branches or pull requests
使用版本:
1.40.0
报错信息:
Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "cn.dev33.satoken.stp.SaLoginModel.getIsWriteHeader()" is null
希望结果:
希望能够未登录使用临时Session尤其是通过Redis的分布式Session 以便进行验证码等初始化数据校验存储工作.免去了再去通过做SpringBoot的 HttpSession集成Redis
复现步骤:
设置 config.setTokenSessionCheckLogin(false);
使用StpUtil.getAnonTokenSession();获取临时TokenSession ,在StpLogic类中第 171行函数中的SaLoginModel由于没有初始化IsWriteHeader,导致null调用报错,
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >
The text was updated successfully, but these errors were encountered: