chore: remove code causing crash

This commit is contained in:
janishutz committed 2026-09-28 11:57:58 +02:00
1 parent 58855ed3a2
commit 90d7076726
1 file changed
-1
-1
View File
@@ -16,7 +16,6 @@ func startStubs(r *gin.Engine, check_middleware func(c *gin.Context)) {
log.Println("[JHID] Custom check middleware enabled")
r.GET("/auth/v2/check", EnsureLogin(false), check_middleware, check_finalizer)
}
r.GET("/auth/v2/check", EnsureLogin(false), func(ctx *gin.Context) { ctx.JSON(200, gin.H{"success": "true"}) })
r.GET("/auth/v2/logout", logoutHandler)
}