Exemplo n.º 1
0
        private void Login()
        {
            User user = authServer.Login(username.Text, password.Text);

            if (user == null)
            {
                status.Text = "Failed to Login";
                ResetPassword();
            }
            else
            {
                status.Text = "Login Successful";
                WindowManager.getInstance().Login(user);
            }
        }