Added comments & small guides

This commit is contained in:
Alex Rock Ancelet
2018-06-03 21:03:31 +02:00
parent e4d2937e34
commit c3555dbdc5
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -3,6 +3,8 @@
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "To use Google Recaptcha, you must register a site on Recaptcha's admin panel:",
"#2": "https://www.google.com/recaptcha/admin",
"GOOGLE_RECAPTCHA_SITE_KEY": "",
"GOOGLE_RECAPTCHA_SECRET": ""
},
+9
View File
@@ -0,0 +1,9 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Recaptcha setup </>
<bg=blue;fg=white> </>
* Register a site on https://www.google.com/recaptcha/admin
* Modify your GOOGLE_RECAPTCHA_SITE_KEY and GOOGLE_RECAPTCHA_SECRET config in <fg=green>.env</>
* Inject the <fg=green>ReCaptcha\ReCaptcha</> service when you need to <fg=green>verify</> a submitted captcha