Update code in endpoints/LOGOUT.post.py
This commit is contained in:
parent
10d3eedfc0
commit
838e6bc266
@ -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
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user