api/pkg/authconfig: reject multiple JSON documents in Decode by htoyoda18 · Pull Request #51919 · moby/moby

thaJeztah

@htoyoda18

Explicitly reject multiple JSON documents in authentication payloads
instead of silently ignoring them. This helps notify users when the
authentication payload is incorrectly formatted.

Signed-off-by: hiroto.toyoda <hiroto.toyoda@dena.com>

thaJeztah