diff --git a/ELT.Client/Kasko/KaskoManager.cs b/ELT.Client/Kasko/KaskoManager.cs index 6a2fa9c..a51d3b2 100644 --- a/ELT.Client/Kasko/KaskoManager.cs +++ b/ELT.Client/Kasko/KaskoManager.cs @@ -19,8 +19,8 @@ namespace ELT.Client.Kasko { var authInfo = new AuthInfo { - Login = "dmitrienko", - Password = "12345" + Login = Environment.GetEnvironmentVariable("eltLogin"), + Password = Environment.GetEnvironmentVariable("eltPassword") }; var eltParams = calculateKaskoRequest.ELTParams; diff --git a/ELT/Properties/launchSettings.json b/ELT/Properties/launchSettings.json index 8570454..287fce0 100644 --- a/ELT/Properties/launchSettings.json +++ b/ELT/Properties/launchSettings.json @@ -11,24 +11,29 @@ "profiles": { "IIS Express": { "commandName": "IISExpress", - "launchBrowser": true, - "launchUrl": "weatherforecast", + "launchBrowser": false, "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "ASPNETCORE_ENVIRONMENT": "Development", + "eltPassword": "12345", + "eltLogin": "dmitrienko" } }, "ELT": { "commandName": "Project", - "launchBrowser": true, - "launchUrl": "weatherforecast", + "launchBrowser": false, "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "ASPNETCORE_ENVIRONMENT": "Development", + "eltPassword": "12345", + "eltLogin": "dmitrienko" }, "applicationUrl": "http://localhost:5000" }, "Docker": { "commandName": "Docker", - "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/weatherforecast", + "environmentVariables": { + "eltPassword": "12345", + "eltLogin": "dmitrienko" + }, "publishAllPorts": true } }