Sfoglia il codice sorgente

honor default ssh username for the quick connect box - fixes #4663

Eugene Pankov 4 anni fa
parent
commit
937243a9d9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tabby-ssh/src/profiles.ts

+ 1 - 1
tabby-ssh/src/profiles.ts

@@ -99,7 +99,7 @@ export class SSHProfilesService extends ProfileProvider<SSHProfile> {
     }
 
     quickConnect (query: string): PartialProfile<SSHProfile> {
-        let user = 'root'
+        let user: string|undefined = undefined
         let host = query
         let port = 22
         if (host.includes('@')) {