fix
Browse files- app/auth.py +2 -0
app/auth.py
CHANGED
|
@@ -2,6 +2,8 @@ from passlib.context import CryptContext
|
|
| 2 |
from datetime import datetime, timedelta
|
| 3 |
from jose import JWTError, jwt
|
| 4 |
from typing import Optional
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# Password hashing
|
| 7 |
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
|
|
|
|
| 2 |
from datetime import datetime, timedelta
|
| 3 |
from jose import JWTError, jwt
|
| 4 |
from typing import Optional
|
| 5 |
+
import os
|
| 6 |
+
|
| 7 |
|
| 8 |
# Password hashing
|
| 9 |
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
|