feat: Add endpoint /forgot-password
This commit is contained in:
parent
89487ec7dd
commit
9b8d03064b
7
app/api/endpoints/forgot-password.py
Normal file
7
app/api/endpoints/forgot-password.py
Normal file
@ -0,0 +1,7 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
@router.post("/forgot-password")
|
||||
async def forgot_password(username: str, password: str):
|
||||
return {"message": "Forgot password!", "username": username}
|
Loading…
x
Reference in New Issue
Block a user