fix: change logout route from GET to POST

This commit is contained in:
2026-06-27 21:05:41 +02:00
parent 6edb93d5af
commit a74087aa2a
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ var publicRoutes = []publicRoute{
// Pages.
{method: http.MethodGet, path: "/login"},
{method: http.MethodPost, path: "/login"},
{method: http.MethodGet, path: "/logout"},
{method: http.MethodPost, path: "/logout"},
// Crawler noise.
{method: http.MethodGet, path: "/robots.txt"},