Compare commits
No commits in common. "9b8d03064ba49948461c7fb15a015c049b4ff625" and "b92e35db55f181340ebd7f8855e2fa7ec262fa18" have entirely different histories.
9b8d03064b
...
b92e35db55
@ -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}
|
@ -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}
|
Loading…
x
Reference in New Issue
Block a user