Add app/api/endpoints/login.py

This commit is contained in:
backend.im 2025-03-06 03:40:34 +00:00
parent 2382382c1f
commit 00bae0c036

View File

@ -0,0 +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}