Exemple #1
0
        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);
        }
Exemple #2
0
        public static void handleLogin(User user)
        {
            Login login = Login.Instance;

            login.verifyLoginData(user);
        }