add_action( 'login_head', 'theme_hide_login_logo_login_head' );

function theme_hide_login_logo_login_head() {
        echo '<style> #login h1 { display: none; } </style>';
}

 

Source: https://wordpress.org/support/topic/hide-login-logo