File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
webapp/src/client/app/modules/web-client/vnc Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -508,7 +508,6 @@ export class WebClientVncComponent extends WebClientBaseComponent implements OnI
508508 private callConnect ( connectionParameters : IronVNCConnectionParameters ) : void {
509509 const configBuilder = this . remoteClient
510510 . configBuilder ( )
511- . withPassword ( connectionParameters . password )
512511 . withDestination ( connectionParameters . host )
513512 . withProxyAddress ( connectionParameters . gatewayAddress )
514513 . withAuthToken ( connectionParameters . token )
@@ -525,6 +524,10 @@ export class WebClientVncComponent extends WebClientBaseComponent implements OnI
525524 configBuilder . withUsername ( connectionParameters . username ) ;
526525 }
527526
527+ if ( connectionParameters . password != null ) {
528+ configBuilder . withPassword ( connectionParameters . password ) ;
529+ }
530+
528531 if ( connectionParameters . screenSize != null ) {
529532 configBuilder . withDesktopSize ( connectionParameters . screenSize ) ;
530533 }
You can’t perform that action at this time.
0 commit comments