fix: add POST /login to public routes
This commit is contained in:
@@ -17,6 +17,7 @@ type publicRoute struct {
|
|||||||
var publicRoutes = []publicRoute{
|
var publicRoutes = []publicRoute{
|
||||||
// Pages.
|
// Pages.
|
||||||
{method: http.MethodGet, path: "/login"},
|
{method: http.MethodGet, path: "/login"},
|
||||||
|
{method: http.MethodPost, path: "/login"},
|
||||||
{method: http.MethodGet, path: "/logout"},
|
{method: http.MethodGet, path: "/logout"},
|
||||||
|
|
||||||
// Static assets.
|
// Static assets.
|
||||||
|
|||||||
Reference in New Issue
Block a user