From cdc9029ad0aa224112267c1f6567965c37c9a2ee Mon Sep 17 00:00:00 2001 From: "Tore S. Loenoey" Date: Thu, 23 Nov 2023 12:45:02 +0100 Subject: [PATCH] chore docs --- internal/ingress/controller/template/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ingress/controller/template/template.go b/internal/ingress/controller/template/template.go index 0cbd19fde..0fde3ad72 100644 --- a/internal/ingress/controller/template/template.go +++ b/internal/ingress/controller/template/template.go @@ -565,7 +565,7 @@ func buildAuthLocation(input interface{}, globalExternalAuthURL string, c interf } // shouldApplyGlobalAuth returns true only in case when ExternalAuth.URL is not set and -// GlobalExternalAuth is set. +// GlobalExternalAuth is set, or if GlobalExternalAuth.DefaultEnable is true. func shouldApplyGlobalAuth(input interface{}, globalExternalAuthURL string, c interface{}) bool { location, ok := input.(*ingress.Location) if !ok {