Compare commits

..

No commits in common. "9b8d03064ba49948461c7fb15a015c049b4ff625" and "b92e35db55f181340ebd7f8855e2fa7ec262fa18" have entirely different histories.

2 changed files with 7 additions and 14 deletions

View File

@ -1,7 +0,0 @@
from fastapi import APIRouter
router = APIRouter()
@router.post("/forgot-password")
async def forgot_password(username: str, password: str):
return {"message": "Forgot password!", "username": username}

View File

@ -1,7 +1,7 @@
from fastapi import APIRouter
router = APIRouter()
@router.post("/login")
async def login(username: str, password: str):
return {"message": "User logged in successfully!", "username": username}
from fastapi import APIRouter
router = APIRouter()
@router.post("/login")
async def login(username: str, password: str):
return {"message": "User logged in successfully", "username": username}