public static string handleLogin(User user) { Login login = Login.Instance; string loginResponse = login.verifyLoginData(user); if (loginResponse == "Logged In!" || loginResponse == "Welcome, Admin!") { onlineUsers.Add(user); } return(loginResponse); }
public static void handleLogin(User user) { Login login = Login.Instance; login.verifyLoginData(user); }