Spaces:
Sleeping
Sleeping
Update core/security.py
Browse files- core/security.py +1 -0
core/security.py
CHANGED
|
@@ -6,6 +6,7 @@ from fastapi.security import OAuth2PasswordBearer
|
|
| 6 |
from core.config import SECRET_KEY, ALGORITHM, ACCESS_TOKEN_EXPIRE_MINUTES
|
| 7 |
from db.mongo import users_collection
|
| 8 |
import logging
|
|
|
|
| 9 |
|
| 10 |
logger = logging.getLogger(__name__)
|
| 11 |
|
|
|
|
| 6 |
from core.config import SECRET_KEY, ALGORITHM, ACCESS_TOKEN_EXPIRE_MINUTES
|
| 7 |
from db.mongo import users_collection
|
| 8 |
import logging
|
| 9 |
+
from fastapi import Request
|
| 10 |
|
| 11 |
logger = logging.getLogger(__name__)
|
| 12 |
|