add logout route
This commit is contained in:
parent
36624b675d
commit
07ebc06b32
2 changed files with 6 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ func SetupRoutes(a *app.App) http.Handler {
|
|||
|
||||
// Auth Actions
|
||||
mux.HandleFunc("POST /auth/magic-link", authRateLimiter(middleware.RequireGuest(auth.SendMagicLink)))
|
||||
mux.HandleFunc("POST /auth/logout", authRateLimiter(auth.Logout))
|
||||
|
||||
// ====================================================================================
|
||||
// PRIVATE ROUTES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue