mirror of
https://github.com/traefik/traefik.git
synced 2026-06-17 19:09:29 +03:00
Add error on basic auth build if users is empty
This commit is contained in:
@@ -826,7 +826,7 @@ environment variable to override the API version used by Traefik.
|
||||
|
||||
## v2.11.46
|
||||
|
||||
### Kubernetes providers: `crossProviderNamespaces`
|
||||
### Kubernetes Providers: `crossProviderNamespaces`
|
||||
|
||||
In `v2.11.46`, a new `crossProviderNamespaces` option is available on the Kubernetes CRD, Ingress, and Gateway providers.
|
||||
|
||||
@@ -848,3 +848,11 @@ The behavior is as follows:
|
||||
|
||||
Please check out the [Kubernetes CRD](../providers/kubernetes-crd.md#crossprovidernamespaces), [Kubernetes Ingress](../providers/kubernetes-ingress.md#crossprovidernamespaces),
|
||||
and [Kubernetes Gateway](../providers/kubernetes-gateway.md#crossprovidernamespaces) provider documentation for more details.
|
||||
|
||||
## v2.11.47
|
||||
|
||||
### BasicAuth Middleware
|
||||
|
||||
From version `v2.11.47` onwards, the BasicAuth middleware requires a non-empty users configuration in order to be built successfully.
|
||||
Previously, the middleware would be built successfully but always return a 401 status code for any request.
|
||||
Now, an error occurs and any routers using it will be unmounted. For the same request, a 404 status code is served instead of a 401 status code.
|
||||
|
||||
Reference in New Issue
Block a user