Просмотр исходного кода

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

Eugene Pankov 4 лет назад
Родитель
Сommit
937243a9d9
1 измененных файлов с 1 добавлено и 1 удалено
  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('@')) {