Going to log out of the site (aimloperations.com/accounts/logout/) returns Forbidden (403) with:
CSRF verification failed. Request aborted.
Expected
Authenticated users should be able to log out successfully and be redirected to the home page.
Notes
Logout form in base.html already uses POST + {% csrf_token %}
Likely cause: missing/misconfigured CSRF_TRUSTED_ORIGINS (or related cookie/proxy SSL settings) in production behind HTTPS
## Problem
Going to log out of the site (aimloperations.com/accounts/logout/) returns **Forbidden (403)** with:
> CSRF verification failed. Request aborted.
## Expected
Authenticated users should be able to log out successfully and be redirected to the home page.
## Notes
- Logout form in `base.html` already uses POST + `{% csrf_token %}`
- Likely cause: missing/misconfigured `CSRF_TRUSTED_ORIGINS` (or related cookie/proxy SSL settings) in production behind HTTPS
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
Going to log out of the site (aimloperations.com/accounts/logout/) returns Forbidden (403) with:
Expected
Authenticated users should be able to log out successfully and be redirected to the home page.
Notes
base.htmlalready uses POST +{% csrf_token %}CSRF_TRUSTED_ORIGINS(or related cookie/proxy SSL settings) in production behind HTTPS