Fix secret scanning issues: Replace hardcoded credentials with environment variables
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import os
|
||||
os.environ["SECRET_KEY"] = "XV@hLx*f5dezwYj36py$LKtMm6Qugyuv"
|
||||
os.environ["SECRET_KEY"] = os.getenv("TEST_SECRET_KEY", "test-secret-key-for-testing-only")
|
||||
|
||||
from app import create_app, db
|
||||
from app.models import User, Quotation
|
||||
|
||||
Reference in New Issue
Block a user