Add recaptcha implementation #212

This commit is contained in:
Nabeel Shahzad
2018-03-16 11:38:06 -05:00
parent b9380b2c3a
commit 92bb56e344
8 changed files with 80 additions and 21 deletions

View File

@@ -47,10 +47,21 @@ return [
'prefix' => 'phpvms_',
],
/*
* You can get a captcha key from here:
* https://www.google.com/recaptcha/admin
*/
'captcha' => [
'enabled' => true,
'secret' => '',
'enabled' => false,
'sitekey' => '',
'secret' => '',
# Attributes can be found here:
# https://developers.google.com/recaptcha/docs/display#render_param
'attributes' => [
'data-theme' => 'light',
],
],
# overrides database.php