Spaces:
Sleeping
Sleeping
Update core/security.py
Browse files- core/security.py +1 -1
core/security.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from datetime import datetime, timedelta
|
| 2 |
from passlib.context import CryptContext
|
| 3 |
from jose import jwt
|
| 4 |
-
from
|
| 5 |
|
| 6 |
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
|
| 7 |
|
|
|
|
| 1 |
from datetime import datetime, timedelta
|
| 2 |
from passlib.context import CryptContext
|
| 3 |
from jose import jwt
|
| 4 |
+
from core.config import SECRET_KEY, ALGORITHM, ACCESS_TOKEN_EXPIRE_MINUTES
|
| 5 |
|
| 6 |
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
|
| 7 |
|