Update code in endpoints/LOGOUT.post.py

This commit is contained in:
Backend IM Bot 2025-03-21 18:24:50 +00:00
parent 10d3eedfc0
commit 838e6bc266

View File

@ -0,0 +1,17 @@
from fastapi import APIRouter, HTTPException
users = [] # In-memory storage
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
}
}