File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,13 @@ A lang folder will be created under /resources/lang/vendor/GoogleReCaptchaV3/*
136
136
137
137
Please register all details in config for host_name, site_key, secret_key and site_verify_url.
138
138
139
+ Register credentials in .env:
140
+
141
+ ````
142
+ RECAPTCHA_V3_SECRET_KEY=
143
+ RECAPTCHA_V3_SITE_KEY=
144
+ ````
145
+
139
146
Specify your Score threshold and action in 'setting', e.g.
140
147
``` php
141
148
'setting' = [
Original file line number Diff line number Diff line change 43
43
| Google reCAPTCHA credentials, https://www.google.com/recaptcha/admin
44
44
|
45
45
*/
46
- 'secret_key ' => '' ,
46
+ 'secret_key ' => env ( ' RECAPTCHA_V3_SECRET_KEY ' , '' ) ,
47
47
/*
48
48
|--------------------------------------------------------------------------
49
49
| Site Key
52
52
| Google reCAPTCHA credentials, https://www.google.com/recaptcha/admin
53
53
|
54
54
*/
55
- 'site_key ' => '' ,
55
+ 'site_key ' => env ( ' RECAPTCHA_V3_SITE_KEY ' , '' ) ,
56
56
57
57
/*
58
58
|--------------------------------------------------------------------------
59
59
| Badge Style
60
60
|--------------------------------------------------------------------------
61
61
| Type: boolean
62
62
| Support:
63
- | - true: the badge will be shown inline with the form, also you can customise your style
63
+ | - true: the badge will be shown inline within the form, also you can customise your style
64
64
| - false: the badge will be shown in the bottom right side
65
65
|
66
66
*/
105
105
| Define your score threshold, define your action
106
106
| action: Google reCAPTCHA required parameter
107
107
| threshold: score threshold
108
- | score_comparision: true/false, if this is true, the system will do score comparsion against your threshold for the action
108
+ | score_comparision: true/false, if this is true, the system will do score comparision against your threshold for the action
109
109
*/
110
110
'setting ' => [
111
111
[
You can’t perform that action at this time.
0 commit comments