mirror of
https://gitee.com/ctexthuang/hyperf_rbac_framework_server_ctexthuang.git
synced 2025-12-25 21:37:50 +08:00
fix : jwt
Some checks failed
Build Docker / build (push) Has been cancelled
Some checks failed
Build Docker / build (push) Has been cancelled
This commit is contained in:
@@ -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' => [
|
||||
|
||||
Reference in New Issue
Block a user