feat: Update endpoint login
This commit is contained in:
parent
8699e3577e
commit
693e3fd79b
@ -4,7 +4,7 @@ from core.database import fake_users_db
|
|||||||
|
|
||||||
router = APIRouter()
|
router = APIRouter()
|
||||||
|
|
||||||
#this is for login authentication
|
#this is for login authentication for users
|
||||||
@router.post("/login")
|
@router.post("/login")
|
||||||
async def login_demo(
|
async def login_demo(
|
||||||
username: str = "demo",
|
username: str = "demo",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user