Remove login shake effect on error

function removeLoginErrorFunc() {
    remove_action('login_head', 'wp_shake_js', 12);
}

add_action('login_head', 'removeLoginErrorFunc');