From c6944503b93304048262e17c2e08fae6ad7bf502 Mon Sep 17 00:00:00 2001 From: Niggl Date: Thu, 16 Jul 2020 10:03:52 +0200 Subject: [PATCH] Removed the Login Data for the test DB from the code for a final release --- ScrumTaskboard/Startup.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ScrumTaskboard/Startup.cs b/ScrumTaskboard/Startup.cs index edf53ec..9e5ce75 100644 --- a/ScrumTaskboard/Startup.cs +++ b/ScrumTaskboard/Startup.cs @@ -141,11 +141,7 @@ namespace ScrumTaskboard //Check if any of the env vars were null and set the parameters for the connection string to default parameters of any of them were null if(dbHost == null || dbPort == null || dbName == null || dbUser == null || dbPassword == null) { - dbHost = "nig.gl"; - dbPort = "8543"; - dbName = "taskboard"; - dbUser = "scrum"; - dbPassword = "c6gXud7YvBWp2sgxSgy4wRN"; + throw new ArgumentNullException(); } //Return the created connection String