Update code in endpoints/logout.post.py

This commit is contained in:
Backend IM Bot 2025-03-24 08:16:50 +00:00
parent d55ee8aa46
commit 232b3a7553

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
}
}