private void ShowLogin(Client client, Error error = null) { if (client == null) { return; } Login_Template login_template = new Login_Template(); login_template.Errors = new Error[] { error }; this.context.Send(login_template.Render()); }
private void ShowLogin(Client client, Error error = null) { if (client == null) { return; } HttpServer.websites.exalted.model.User user = UserManager.GetUser(UserManager.GetUserID(client)); Login_Template login_template = new Login_Template(user); login_template.Errors = new Error[] { error }; this.context.Send(login_template.Render()); }