Commit 93f753a
fix(auth): convert /api/auth/logout to POST
The endpoint was a MapGet, which made it CSRF-able: an <img> tag on any
page open in the same browser could fire it and silently sign the user
out of FwLite Web. Switch to POST and drop the server-side redirect
(no callers were relying on either — the viewer logs out via the
[JSInvokable] Blazor interop method, not HTTP).
Refs #2306
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 25833ad commit 93f753a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments