Skip to content

Commit

Permalink
Remove not working check.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Jul 30, 2023
1 parent 8bfbbbb commit 9fa2d58
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/php/Settings/General.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,6 @@ public function check_config() {
);
}

$hcaptcha_response = $body['c']['req'] ?? '';

$result = hcaptcha_request_verify( $hcaptcha_response ); // Always error: token malformed.

wp_send_json_success(
esc_html__( 'Site key is valid.', 'hcaptcha-for-forms-and-more' )
);
Expand Down

0 comments on commit 9fa2d58

Please sign in to comment.