Repository navigation
Commit 031091b
Record that CSRF protection on sign-in comes from Astro
Measured against production after the deploy: a POST to /giris/orbit with
no Origin, or a foreign one, is refused with 403 before reaching the
route, while a same-origin POST gets the 503 the handler returns while
Orbit is unconfigured. That 403 is Astro's security.checkOrigin default,
not anything in this file -- so the route has no CSRF check of its own
and would quietly lose one if that default were ever turned off.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent cef6b8e commit 031091b
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
| |||
0 commit comments