mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
Update the default cache period for userinfo (#734)
This commit is contained in:
@@ -75,7 +75,6 @@ class Settings(BaseSettings):
|
||||
|
||||
# JWT
|
||||
JWT_USER_REDIS_PREFIX: str = 'fba:user'
|
||||
JWT_USER_REDIS_EXPIRE_SECONDS: int = 60 * 60 * 24 * 7 # 7 天
|
||||
|
||||
# RBAC
|
||||
RBAC_ROLE_MENU_MODE: bool = True
|
||||
|
||||
Reference in New Issue
Block a user