Skip to content

Commit 9ba0ef4

Browse files
FEATURE (database): Trim database password over creation
1 parent 14c6196 commit 9ba0ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/features/databases/ui/edit/EditDatabaseSpecificDataComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export const EditDatabaseSpecificDataComponent = ({
236236

237237
setEditingDatabase({
238238
...editingDatabase,
239-
postgresql: { ...editingDatabase.postgresql, password: e.target.value },
239+
postgresql: { ...editingDatabase.postgresql, password: e.target.value.trim() },
240240
});
241241
setIsConnectionTested(false);
242242
}}

0 commit comments

Comments
 (0)