This commit is contained in:
@@ -281,7 +281,7 @@ async def delete_session(token: str) -> bool:
|
||||
|
||||
### JWT токены
|
||||
- **Алгоритм**: HS256
|
||||
- **Secret**: Из переменной окружения JWT_SECRET
|
||||
- **Secret**: Из переменной окружения JWT_SECRET_KEY
|
||||
- **Payload**: `{user_id, username, iat, exp}`
|
||||
- **Expiration**: 30 дней (настраивается)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user