Browse Source

Removing test code included by mistake in 79f75ac1

Source commit: cdc3d7c6c8b943c389212027f655536da1166d24
Martin Prikryl 5 years ago
parent
commit
90eff3e40b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/windows/GUITools.cpp

+ 1 - 1
source/windows/GUITools.cpp

@@ -171,7 +171,7 @@ void __fastcall OpenSessionInPutty(const UnicodeString PuttyPath,
         Password = SessionData->Password;
       }
     }
-    TCustomCommandData Data(SessionData, L"domain\\username"/*SessionData->UserName*/, Password);
+    TCustomCommandData Data(SessionData, SessionData->UserName, Password);
     TLocalCustomCommand LocalCustomCommand(Data, SessionData->RemoteDirectory, SessionData->LocalDirectory);
     TWinInteractiveCustomCommand InteractiveCustomCommand(
       &LocalCustomCommand, L"PuTTY", UnicodeString());