Add app/api/endpoints/login.py
This commit is contained in:
parent
2382382c1f
commit
00bae0c036
7
app/api/endpoints/login.py
Normal file
7
app/api/endpoints/login.py
Normal 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}
|
Loading…
x
Reference in New Issue
Block a user