mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 20:50:14 +08:00
maxkey.auth.session.timeout 默认参数和默认值
This commit is contained in:
@@ -25,13 +25,13 @@ import org.springframework.stereotype.Component;
|
||||
@Configuration
|
||||
public class AuthJwkConfig {
|
||||
|
||||
@Value("${maxkey.auth.jwt.expires:86400}")
|
||||
@Value("${maxkey.auth.jwt.expires:28800}")
|
||||
int expires;
|
||||
|
||||
@Value("${maxkey.auth.jwt.secret}")
|
||||
String secret;
|
||||
|
||||
@Value("${maxkey.session.timeout}")
|
||||
@Value("${maxkey.auth.session.timeout:86400}")
|
||||
int refreshExpires;
|
||||
|
||||
@Value("${maxkey.auth.jwt.refresh.secret}")
|
||||
|
||||
Reference in New Issue
Block a user