This commit is contained in:
2026-04-08 00:34:12 +03:00
parent 690ada36f7
commit 65192f373b
2 changed files with 10 additions and 2 deletions

View File

@@ -16,6 +16,8 @@ from backend.models import User
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
bearer = HTTPBearer(auto_error=False)
AUTH_VERSION = "prehash-sha256-2026-04-07"
def _env(name: str, default: str) -> str:
value = os.getenv(name)