mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-04 08:06:24 +08:00
The frontend server now runs a CSRF middleware on all paths except /assets/. To enable CSRF the -csrf_key flag must be set. Instead of enforcing the flag is set, I opted to log that CSRF is disabled. Not running CSRF means I can test with curl. In the future I might enforce that the flag must be set in release builds.