feat: Update endpoint login

This commit is contained in:
Backend IM Bot 2025-03-26 19:29:55 +00:00
parent 49be163e2a
commit bca43f3bd1

View File

@ -1,6 +1,4 @@
# Entity: User
```python
from fastapi import APIRouter, Depends, HTTPException, status
from fastapi.security import OAuth2PasswordRequestForm
from sqlalchemy.orm import Session
@ -32,4 +30,3 @@ async def login(
"token_type": "bearer",
"user": user
}
```