Skip to content

fix: make password field optional for creating data source#819

Open
LordofAvernus wants to merge 1 commit intomainfrom
dms-ui/fix-2738
Open

fix: make password field optional for creating data source#819
LordofAvernus wants to merge 1 commit intomainfrom
dms-ui/fix-2738

Conversation

@LordofAvernus
Copy link
Copy Markdown
Collaborator

Summary

  • Make password field optional (not required) when creating a new data source
  • Keep required validation only when updating password on existing data source

Fixes https://github.com/actiontech/sqle-ee/issues/2738

Remove the required validation on Password field when creating a new
data source. Some databases like TiDB use empty password for root user
by default. The password remains required only during update when the
'need update password' toggle is enabled.

Refs #2738
@actiontech-bot actiontech-bot requested a review from LZS911 April 23, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant