Update code in endpoints/logout.post.py

This commit is contained in:
Backend IM Bot 2025-03-25 08:11:25 +00:00
parent f60a1f6e4b
commit c880e8027a

View File

@ -0,0 +1,15 @@
from fastapi import APIRouter, HTTPException
router = APIRouter()
@router.post("/logout")
async def logout_demo():
"""Demo logout endpoint"""
return {
"message": "Logout successful",
"token": None,
"features": {
"rate_limit": 0,
"expires_in": 0
}
}