Unifi-Voucher-Tool/includes
Claude 78a2b41329
Fix HTTP 403 on login: add Origin and Referer headers
UniFi OS enforces CSRF protection on the login endpoint itself and
returns 403 if Origin/Referer headers are absent, regardless of whether
the credentials are correct. Required headers:
  Origin: https://controller:port
  Referer: https://controller:port/login

Documented in Art-of-WiFi UniFi-API-client reference implementation.

https://claude.ai/code/session_01UsuvFAmmeagtQa14QA4iaq
2026-04-22 05:28:17 +00:00
..
Auth.php Fix sites freeze bug, add features and shorten README 2026-04-21 16:08:08 +00:00
Database.php Fix sites freeze bug, add features and shorten README 2026-04-21 16:08:08 +00:00
Mailer.php Fix sites freeze bug, add features and shorten README 2026-04-21 16:08:08 +00:00
UniFiController.php Fix HTTP 403 on login: add Origin and Referer headers 2026-04-22 05:28:17 +00:00