mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update code for php 8.5 compatibility
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Support;
|
||||
|
||||
use App\Services\TurnstileService;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class CaptchaHelper
|
||||
{
|
||||
@@ -24,7 +25,7 @@ class CaptchaHelper
|
||||
|
||||
// If both are configured as enabled, log a warning and use the configured provider
|
||||
if ($recaptchaEnabled && $turnstileEnabled) {
|
||||
\Log::warning('Both reCAPTCHA and Turnstile are enabled. Only one can be active at a time. Using provider: '.$provider);
|
||||
Log::warning('Both reCAPTCHA and Turnstile are enabled. Only one can be active at a time. Using provider: '.$provider);
|
||||
}
|
||||
|
||||
if ($provider === 'turnstile') {
|
||||
|
||||
Reference in New Issue
Block a user