feat: Update endpoint login
This commit is contained in:
parent
0407a9e1da
commit
6ac742fc0f
@ -7,8 +7,7 @@ from core.auth import verify_password, create_access_token
|
||||
from models.user import User
|
||||
|
||||
router = APIRouter()
|
||||
unubjn
|
||||
|
||||
# Generate token with expiration
|
||||
class UserAuth(BaseModel):
|
||||
username: str
|
||||
password: str
|
||||
|
Loading…
x
Reference in New Issue
Block a user