7 lines
219 B
Python
7 lines
219 B
Python
from fastapi import APIRouter
|
|
|
|
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
|
|
@router.post("/forgot-password")
|
|
|
|
async def forgot_password(username: str, password: str):
|
|
|
|
return {"message": "Forgot password!", "username": username} |