env variables refactoring

This commit is contained in:
Čarodej
2022-03-02 10:43:27 +01:00
parent ff9198a03e
commit 4b751a29c2
7 changed files with 66 additions and 58 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class ReCaptchaRules implements Rule
'https://www.google.com/recaptcha/api/siteverify',
[
'form_params' => [
'secret' => env('RECAPTCHA_CLIENT_SECRET', false),
'secret' => config('services.recaptcha.client_secret'),
'remoteip' => request()->getClientIp(),
'response' => $value,
],