fix : jwt
Some checks failed
Build Docker / build (push) Has been cancelled

This commit is contained in:
2025-09-13 12:16:13 +08:00
parent a1fdeb9148
commit 48ad2ebd1b
9 changed files with 135 additions and 18 deletions

View File

@@ -39,7 +39,7 @@ return [
// jwt 签名key
'key' => InMemory::base64Encoded(env('JWT_SECRET')),
// token过期时间单位为秒
'ttl' => (int) env('ADMIN_JWT_TTL', 1),
'ttl' => (int) env('ADMIN_JWT_TTL', 3),
// 刷新token过期时间单位为秒
'refresh_ttl' => (int) env('ADMIN_JWT_REFRESH_TTL', 10),
'claims' => [