Fix logout route to accept POST
This commit is contained in:
parent
ee823b6a84
commit
4d03350943
@ -52,7 +52,7 @@ func (s *Server) SetupRoutes() {
|
||||
r.Get("/", s.handlers.HandleDashboard())
|
||||
|
||||
// Logout
|
||||
r.Get("/logout", s.handlers.HandleLogout())
|
||||
r.Post("/logout", s.handlers.HandleLogout())
|
||||
|
||||
// App routes
|
||||
r.Get("/apps/new", s.handlers.HandleAppNew())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user