Closed abdullai-t closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 52.88%. Comparing base (
6eed8c3
) to head (3b03baf
). Report is 6 commits behind head on main.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary / Highlights
This Pull Request addresses the issue where login attempts into the Django Admin site from Dev and Canary environments were aborting due to a CSRF verification failure.
The problem was fixed by adding the CSRF_TRUSTED_ORIGINS setting in the main Django's setting file. The values for ALLOWED_HOSTS are used to set this new setting, ensuring all domains in ALLOWED_HOSTS are recognized as trusted origins for CSRF protection.
Details (Give details about what this PR accomplishes, include any screenshots etc)
Testing Steps (Provide details on how your changes can be tested)
Requirements (place an
x
in each[ ]
)Transparency (Project board)