refactor: remove dead session code
This commit is contained in:
@@ -210,8 +210,8 @@ async def _require_token(
|
||||
SDK sends — LibreChat, the CLI, third-party clients) and
|
||||
``Authorization: Bearer <token>`` (curl, Cursor). 401 on missing /
|
||||
unknown token; 403 on a known token whose scope doesn't cover
|
||||
``scope`` (Phase 4.3 — bootstrap tokens get ``"*"`` and pass
|
||||
everything).
|
||||
``scope``. Bootstrap tokens implicitly carry ``"*"`` and pass
|
||||
every scope check.
|
||||
"""
|
||||
api_key = request.headers.get("x-api-key")
|
||||
identity = (
|
||||
|
||||
Reference in New Issue
Block a user