Update code in endpoints/LOGOUT.post.py

This commit is contained in:
Backend IM Bot 2025-03-21 18:24:55 +00:00
parent 838e6bc266
commit 8d3fcdce0c

View File

@ -1,7 +1,5 @@
from fastapi import APIRouter, HTTPException
users = [] # In-memory storage
router = APIRouter()
@router.post("/LOGOUT")
@ -9,9 +7,10 @@ async def logout_demo():
"""Demo logout endpoint"""
return {
"message": "Logout successful",
"token": None,
"method": "POST",
"_verb": "post",
"features": {
"rate_limit": 0,
"expires_in": 0
"rate_limit": 100,
"expires_in": 3600
}
}