mirror of
https://gitee.com/dromara/sa-token.git
synced 2026-02-27 16:50:24 +08:00
为 jwt-mixin 模式适配 max-try-times 属性
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user