chore: logging for custom middleware

This commit is contained in:
janishutz committed 2026-09-28 11:46:46 +02:00
1 parent e6b8422a1e
commit 6bcaff2d88
1 file changed
+1
+1
View File
@@ -76,6 +76,7 @@ func Configure(r *gin.Engine, app_url string, default_redirect string, stubs_on_
if check_middleware == nil {
r.GET("/auth/v2/check", EnsureLogin(false), check_finalizer)
} else {
log.Println("[JHID] Custom check middleware enabled")
r.GET("/auth/v2/check", EnsureLogin(false), check_middleware, check_finalizer)
}
r.GET("/auth/v2/logout", logoutHandler)