diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 9753ae021..026533245 100644 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -24,6 +24,14 @@ Fixes: #1064: "Esc" button does does not close some dialogs #1044: Dragging (grabbing) the program window requires 2 clicks + +1.76.16 (2019-03-14): + +Fixes: +------ +#1347: Remote Desktop Gateway username field encrypted instead of password + + 1.76.15 (2019-03-09): Fixes: diff --git a/mRemoteV1/Config/Serializers/ConnectionSerializers/MsSql/DataTableSerializer.cs b/mRemoteV1/Config/Serializers/ConnectionSerializers/MsSql/DataTableSerializer.cs index 944c3bd39..d682307f6 100644 --- a/mRemoteV1/Config/Serializers/ConnectionSerializers/MsSql/DataTableSerializer.cs +++ b/mRemoteV1/Config/Serializers/ConnectionSerializers/MsSql/DataTableSerializer.cs @@ -276,9 +276,8 @@ namespace mRemoteNG.Config.Serializers.MsSql dataRow["RDGatewayUsageMethod"] = connectionInfo.RDGatewayUsageMethod; dataRow["RDGatewayHostname"] = connectionInfo.RDGatewayHostname; dataRow["RDGatewayUseConnectionCredentials"] = connectionInfo.RDGatewayUseConnectionCredentials; - dataRow["RDGatewayUsername"] = - _cryptographyProvider.Encrypt(connectionInfo.RDGatewayUsername, _encryptionKey); - dataRow["RDGatewayPassword"] = connectionInfo.RDGatewayPassword; + dataRow["RDGatewayUsername"] = connectionInfo.RDGatewayUsername; + dataRow["RDGatewayPassword"] = _cryptographyProvider.Encrypt(connectionInfo.RDGatewayPassword, _encryptionKey); dataRow["RDGatewayDomain"] = connectionInfo.RDGatewayDomain; if (_saveFilter.SaveInheritance) {