form#login-form, form#login-form + hr,
form[action*="/register"], form[action*="/register"] + hr {
  display: none;
}