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