Update code in endpoints/logout.post.py
This commit is contained in:
parent
f60a1f6e4b
commit
c880e8027a
@ -0,0 +1,15 @@
|
|||||||
|
from fastapi import APIRouter, HTTPException
|
||||||
|
|
||||||
|
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