为 jwt-mixin 模式适配 max-try-times 属性

This commit is contained in:
click33
2023-04-30 23:02:04 +08:00
parent a72ba8379b
commit 453030058f
5 changed files with 23 additions and 7 deletions
@@ -351,7 +351,7 @@ public class StpLogic {
* @return 返回会话令牌
*/
public String createLoginSession(Object id, SaLoginModel loginModel) {
// ------ 前置检查
SaTokenException.throwByNull(id, "账号id不能为空", SaErrorCode.CODE_11002);
@@ -395,7 +395,7 @@ public class StpLogic {
* @return 返回 Token
*/
protected String distUsableToken(Object id, SaLoginModel loginModel) {
// 获取全局配置
Boolean isConcurrent = getConfig().getIsConcurrent();