Update auth.py
Browse files
auth.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
#auth.py
|
2 |
|
3 |
from fastapi import Depends, HTTPException, Form, status
|
4 |
-
from fastapi.security import OAuth2PasswordBearer
|
5 |
from pydantic import BaseModel
|
6 |
from sqlalchemy.orm import Session
|
7 |
from database import get_db, get_user_by_email # Import database functions
|
|
|
1 |
#auth.py
|
2 |
|
3 |
from fastapi import Depends, HTTPException, Form, status
|
4 |
+
from fastapi.security import OAuth2PasswordBearer
|
5 |
from pydantic import BaseModel
|
6 |
from sqlalchemy.orm import Session
|
7 |
from database import get_db, get_user_by_email # Import database functions
|