diff --git a/Source Code/TeamHobby.HobbyProjectGenerator/TeamHobby.UserManagement.xTests/TeamHobby.UserManagement.xTests.csproj b/Source Code/TeamHobby.HobbyProjectGenerator/TeamHobby.UserManagement.xTests/TeamHobby.UserManagement.xTests.csproj index 9f77f5f..ef2ea1d 100644 --- a/Source Code/TeamHobby.HobbyProjectGenerator/TeamHobby.UserManagement.xTests/TeamHobby.UserManagement.xTests.csproj +++ b/Source Code/TeamHobby.HobbyProjectGenerator/TeamHobby.UserManagement.xTests/TeamHobby.UserManagement.xTests.csproj @@ -20,4 +20,9 @@ + + + + + diff --git a/Source Code/main/Controller.cs b/Source Code/main/Controller.cs index d4dcfd0..1d74a58 100644 --- a/Source Code/main/Controller.cs +++ b/Source Code/main/Controller.cs @@ -82,15 +82,16 @@ namespace TeamHobby.HobbyProjectGenerator.Main // Create UserAccount class UserAccount user = new UserAccount(username, password, TimeStamp); - + // Call user object and wait for return string string isLogin = manager.CreateUserRecord(user, datasource); - + // If login is not incorrect and user is returning to login menu if (isLogin != "Access Denied: Unauthorized\n") { Console.WriteLine("Returning to login...\n"); Console.WriteLine("-------------------------------------\n"); } + // If login is incorrect else { Console.WriteLine("******Access Denied: Unauthorized******");