GP Auto Login // Gravity Perks // Bypass Custom Login System
<?php
/**
* GP Auto Login // Gravity Perks // Bypass Custom Login System
*/
add_action( 'gpal_pre_auto_login', function() {
remove_filter( 'authenticate', array( $GLOBALS['CAS_Maestro'], 'validate_login' ), 30, 3 );
remove_filter( 'login_url', array( $GLOBALS['CAS_Maestro'], 'bypass_reauth' ) );
} );