feat: Delete endpoint login
This commit is contained in:
parent
8a12443bd2
commit
4878bf23f3
@ -1,13 +0,0 @@
|
||||
from fastapi import APIRouter, HTTPException
|
||||
from pydantic import BaseModel
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
class UserRegistration(BaseModel):
|
||||
username: str
|
||||
password: str
|
||||
email: str
|
||||
|
||||
@router.post("/signup")
|
||||
async def signup(user: UserRegistration):
|
||||
return {"message": "User registered successfully", "user": user.username}
|
Loading…
x
Reference in New Issue
Block a user