mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
fix(ui): preserve mirroring credentials when updating tag pattern (PROJQUAY-9608) When updating mirroring configuration fields like tag patterns, credentials were being cleared because the password field is empty by default for security. Modified UseMirroringConfig to conditionally exclude credentials from the update payload when the password field is empty and updating existing config. This matches the Angular UI behavior where only changed fields are sent. Added Cypress tests to verify credentials are preserved when updating other fields without changing the password, and that credentials are included when explicitly updated. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Brady Pratt <bpratt@redhat.com> Co-authored-by: Brady Pratt <bpratt@redhat.com> Co-authored-by: Claude <noreply@anthropic.com>