Commit a366f3c299d91aff7a62e590d975eb83d26a6ffc
1 parent
90803541
Adjust JWT token TTL values to extend access and refresh token durations.
Showing
1 changed file
with
2 additions
and
2 deletions
sl-express-ms-web-customer/src/main/java/com/sl/ms/web/customer/properties/JwtProperties.java
| ... | ... | @@ -20,9 +20,9 @@ public class JwtProperties { |
| 20 | 20 | /** |
| 21 | 21 | * 短令牌有效期时间,单位:分钟 |
| 22 | 22 | */ |
| 23 | - private Integer accessTtl = 10000; | |
| 23 | + private Integer accessTtl = 5256000; | |
| 24 | 24 | /** |
| 25 | 25 | * 长令牌有效期时间,单位:小时 |
| 26 | 26 | */ |
| 27 | - private Integer refreshTtl = 100; | |
| 27 | + private Integer refreshTtl = 87600; | |
| 28 | 28 | } | ... | ... |