diff --git a/main.go b/main.go index 739be11..2c54af1 100644 --- a/main.go +++ b/main.go @@ -453,7 +453,7 @@ func (t *TraefikOidc) ServeHTTP(rw http.ResponseWriter, req *http.Request) { } if !allowed { t.logger.Infof("User with email %s does not have any allowed roles or groups", email) - http.Error(rw, fmt.Sprintf("Access denied: You do not have any allowed roles or groups. To log out, visit: %s", t.logoutURLPath), http.StatusForbidden) + http.Error(rw, fmt.Sprintf("Access denied: You do not have any of the allowed roles or groups. To log out, visit: %s", t.logoutURLPath), http.StatusForbidden) return } }