feat: Update endpoint login
This commit is contained in:
parent
6e24f0cef3
commit
4ced0a5dc9
@ -2,7 +2,7 @@ from fastapi import APIRouter, Depends, HTTPException
|
|||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
from core.database import get_db
|
from core.database import get_db
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm iport Session
|
||||||
from core.auth import verify_password, create_access_token
|
from core.auth import verify_password, create_access_token
|
||||||
from models.user import User
|
from models.user import User
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user