public void Register() { Console.Clear(); // Enter Username string username = JHelper.InputString("Enter Username: "******""; string confirmPassword = "******"; while (password != confirmPassword) { password = JHelper.InputPassword("Enter Password: "******"Confirm Password: "******"> Please Enter the Same Password"); } } Logic.Register(username, password); Console.WriteLine("User Registered. You may now log in to your account."); JHelper.ContinuePrompt(); }
public void Login() { while (true) { Console.Clear(); // Enter Username string username = JHelper.InputString("Enter Username: "******"Enter Password: "******"Please Enter A Valid Username and Password"); JHelper.ContinuePrompt(); } MainMenu(); }