File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22
33<connection-fields >
4- <field name =" server" label =" Server" value-type =" string" category =" endpoint" >
5- </field >
6-
4+ <field name =" server" label =" Server" value-type =" string" category =" endpoint" />
75 <field name =" port" label =" Port" value-type =" string" category =" endpoint" default-value =" 5432" />
8-
9- <field name =" authentication" label =" Authentication" category =" authentication" value-type =" string" editable =" false" default-value =" auth-user" />
10-
116 <field name =" username" label =" Username" value-type =" string" category =" authentication" />
12-
137 <field name =" password" label =" Password" value-type =" string" category =" authentication" secure =" true" optional =" true" />
148
159 <field name =" sslmode" label =" Require SSL" value-type =" boolean" category =" general" default-value =" " >
Original file line number Diff line number Diff line change 22 var props = { } ;
33
44 props [ "user" ] = attr [ connectionHelper . attributeUsername ] ;
5-
6- var authAttrValue = attr [ connectionHelper . attributeAuthentication ] ;
7-
8- if ( authAttrValue == "auth-user-pass" ) {
9- props [ "password" ] = attr [ connectionHelper . attributePassword ] ;
10- }
5+ props [ "password" ] = attr [ connectionHelper . attributePassword ] ;
116
127 if ( attr [ connectionHelper . attributeSSLMode ] == "require" ) {
138 props [ "ssl" ] = "true" ;
You can’t perform that action at this time.
0 commit comments