New issue
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
StpLogicJwtForMixin下调用StpUtil.login,出现this api is disabled异常? #361
Comments
yml配置贴一下 |
|
is-concurrent 和 is-share 都改成 true |
意思是混入模式必然得支持 [并发登录] 和 [共用一个token] 吗? |
对 |
好的,明白了,谢谢! |
为什么
而且,手动把redis的token删除, |
这个问题关闭,我新开了个issue |
使用版本:
涉及的功能模块:
测试步骤:
使用
StpLogicJwtForStateless
正常,一切换成StpLogicJwtForMixin
就出现一下异常:文档里说
但是我只调用了
StpUtil.login
这一个函数。上面抛出的异常中,
调用
StpUtil.login
时,内部必然会调用replaced
,但是StpLogicJwtForMixin
的replaced
函数被标记为禁用的throw new ApiDisabledException();
。这是哪里出问题了?
The text was updated successfully, but these errors were encountered: