feat: logout endpoint

This commit is contained in:
janishutz committed 2026-09-21 16:15:40 +02:00
1 parent a9245fd20f
commit 2ae92f8191
3 files changed
+10

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ func startStubs(r *gin.Engine) {
r.GET("/auth/v2/login", stubsHandler)
r.GET("/auth/v2/verify", stubsHandler)
r.GET("/auth/v2/check", EnsureLogin(false), func(ctx *gin.Context) { ctx.JSON(200, gin.H{"success": "true"}) })
r.GET("/auth/v2/logout", logoutHandler)
}
func stubsHandler(c *gin.Context) {