mirror of
https://github.com/janishutz/oidclogin.git
synced 2026-10-08 17:26:20 +02:00
chore: logging for custom middleware
This commit is contained in:
1 parent
e6b8422a1e
commit
6bcaff2d88
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user