Explorar o código

Removing test code included by mistake in 79f75ac1

Source commit: cdc3d7c6c8b943c389212027f655536da1166d24
Martin Prikryl %!s(int64=5) %!d(string=hai) anos
pai
achega
90eff3e40b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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());