Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Custom login script

 Add custom JS script to WordPress login.

// Register Script
function custom_scripts() {

	wp_register_script( 'my-login-script', 'http://example.com/custom.js', array( 'jquery' ), '1.0', false );
	wp_enqueue_script( 'my-login-script' );

}
add_action( 'login_enqueue_scripts', 'custom_scripts' );