Merge pull request #20499 from woocommerce/fix/20496
Remove API enabled check from auth endpoint
This commit is contained in:
commit
5f37fe110a
|
@ -319,10 +319,6 @@ class WC_Auth {
|
|||
$consumer_data = array();
|
||||
|
||||
try {
|
||||
if ( 'yes' !== get_option( 'woocommerce_api_enabled' ) ) {
|
||||
throw new Exception( __( 'API disabled!', 'woocommerce' ) );
|
||||
}
|
||||
|
||||
$route = strtolower( wc_clean( $route ) );
|
||||
$this->make_validation();
|
||||
|
||||
|
|
Loading…
Reference in New Issue