Skip to content

Commit d1db647

Browse files
wip
1 parent 6d57430 commit d1db647

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

config/google-recaptcha-v3.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

33
return [
4-
'enabled' => null, // env('GOOGLE_RECAPTCHA_V3_ENABLED'),
4+
'enabled' => null,
55

6-
'site_key' => null, // env('GOOGLE_RECAPTCHA_V3_SITE_KEY'),
6+
'site_key' => null,
77

8-
'secret_key' => null, // env('GOOGLE_RECAPTCHA_V3_SECRET_KEY'),
8+
'secret_key' => null,
99

1010
'score_threshold' => null,
1111
];

src/Support/Config.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public static function isEnabled(): bool
1717
{
1818
$enabled = config('google-recaptcha-v3.enabled') ?? null;
1919

20-
// Handle string 'false' explicitly
2120
if ($enabled === 'false' || $enabled === '0') {
2221
$enabled = false;
2322
} else {

0 commit comments

Comments
 (0)