BOLO-KESARI commited on
Commit ·
52c9e6d
1
Parent(s): 2033599
Verifying bcrypt fix and versioning
Browse files- backend/app/core/security.py +0 -1
- backend/app/main.py +2 -1
backend/app/core/security.py
CHANGED
|
@@ -4,7 +4,6 @@ Security utilities for password hashing and JWT token management.
|
|
| 4 |
from datetime import datetime, timedelta
|
| 5 |
from typing import Optional
|
| 6 |
from jose import JWTError, jwt
|
| 7 |
-
from passlib.context import CryptContext
|
| 8 |
from fastapi import Depends, HTTPException, status
|
| 9 |
from fastapi.security import HTTPBearer, HTTPAuthorizationCredentials
|
| 10 |
from sqlalchemy.orm import Session
|
|
|
|
| 4 |
from datetime import datetime, timedelta
|
| 5 |
from typing import Optional
|
| 6 |
from jose import JWTError, jwt
|
|
|
|
| 7 |
from fastapi import Depends, HTTPException, status
|
| 8 |
from fastapi.security import HTTPBearer, HTTPAuthorizationCredentials
|
| 9 |
from sqlalchemy.orm import Session
|
backend/app/main.py
CHANGED
|
@@ -129,5 +129,6 @@ async def health_check():
|
|
| 129 |
"status": "healthy",
|
| 130 |
"api": "operational",
|
| 131 |
"database": db_status,
|
| 132 |
-
"sqlite_path": str(engine.url)
|
|
|
|
| 133 |
}
|
|
|
|
| 129 |
"status": "healthy",
|
| 130 |
"api": "operational",
|
| 131 |
"database": db_status,
|
| 132 |
+
"sqlite_path": str(engine.url),
|
| 133 |
+
"version": "1.0.2-bcrypt-fix"
|
| 134 |
}
|