@@ -61,8 +61,12 @@ export class ElementConnectorMagnusComponent implements OnInit {
6161 { name : 'name' , value : this . name , label : this . _i18n . t ( 'Name' ) } ,
6262 { name : 'host' , value : this . endpoint . getHost ( ) , label : this . _i18n . t ( 'Host' ) } ,
6363 { name : 'port' , value : this . endpoint . getPort ( this . protocol ) , label : this . _i18n . t ( 'Port' ) } ,
64- { name : 'username' , value : this . token . id , label : this . _i18n . t ( 'Username' ) } ,
65- { name : 'password' , value : this . token . value , label : this . _i18n . t ( 'Password' ) } ,
64+ { name : 'username' , value : this . protocol == 'redis' ? '' : this . token . id , label : this . _i18n . t ( 'Username' ) } ,
65+ {
66+ name : 'password' ,
67+ value : this . protocol == 'redis' ? `${ this . token . id } @${ this . token . value } ` : this . token . value ,
68+ label : this . _i18n . t ( 'Password' )
69+ } ,
6670 { name : 'database' , value : this . protocol === 'oracle' ? this . token . id : database , label : this . _i18n . t ( 'Database' ) } ,
6771 { name : 'protocol' , value : this . protocol , label : this . _i18n . t ( 'Protocol' ) } ,
6872 { name : 'date_expired' , value : `${ this . token . date_expired } ` , label : this . _i18n . t ( 'Expire time' ) } ,
0 commit comments