protected void Inicio_Click(object sender, EventArgs e) { if (UsuariosBLL.Authenticate(UsuarioText.Text, ContrasenaText.Text)) { FormsAuthentication.RedirectFromLoginPage(UsuarioText.Text, true); } else { MostrarMensaje(TiposMensaje.Error, ""); } }
protected void Inicio_Click(object sender, EventArgs e) { if (UsuariosBLL.Authenticate(UsuarioText.Text, ContrasenaText.Text)) { FormsAuthentication.RedirectFromLoginPage(UsuarioText.Text, true); } else { MostrarMensaje(TiposMensaje.Error, ""); } }