Files
company_site/company_site
westfarn c97bd16445
Unit Tests / test (push) Successful in 10s
Require auth for /preview_email/ (#16) (#17)
## Summary
- Closes #16
- Confirms `/preview_email/<pk>/` requires an authenticated user (`@login_required` already on the view)
- Adds unit tests for unauthenticated redirect and authenticated preview access

## Test plan
- [x] `python manage.py test public.tests.PreviewEmailAuthTests`
- [ ] Manually hit `/preview_email/1/` logged out → redirect to `/accounts/login/`
- [ ] Log in and hit same URL → email preview renders

Reviewed-on: #17
2026-07-10 10:57:48 -07:00
..
2026-06-20 06:05:50 -05:00
2025-03-06 10:51:12 -06:00
2025-03-06 10:51:12 -06:00