mirror of
https://github.com/janishutz/oidclogin.git
synced 2026-10-08 17:26:20 +02:00
chore: remove code causing crash
This commit is contained in:
1 parent
58855ed3a2
commit
90d7076726
1 file changed
-1
@@ -16,7 +16,6 @@ func startStubs(r *gin.Engine, check_middleware func(c *gin.Context)) {
|
|||||||
log.Println("[JHID] Custom check middleware enabled")
|
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), 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)
|
r.GET("/auth/v2/logout", logoutHandler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user