Skip to content

Commit

Permalink
Added ReCaptcha v3
Browse files Browse the repository at this point in the history
Updates #13
  • Loading branch information
inghamn committed Oct 3, 2024
1 parent 586ffdb commit 16aadf1
Show file tree
Hide file tree
Showing 8 changed files with 330 additions and 262 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1
0.1.1
4 changes: 3 additions & 1 deletion ansible/templates/site_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ $UREPORT = [
'api_key' => "{{ ureport_client_open311.api_key }}"
];

define('GOOGLE_MAPS_API_KEY', '{{ ureport_client_google_api_key }}');
define('GOOGLE_MAPS_API_KEY', '{{ ureport_client_google_api_key }}');
define('RECAPTCHA_SITE_KEY', '{{ ureport_client_recaptcha.site_key }}');
define('RECAPTCHA_SECRET_KEY', '{{ ureport_client_recaptcha.secret_key }}');

define('DATE_FORMAT', 'n/j/Y');
define('TIME_FORMAT', 'g:i a');
Expand Down
17 changes: 9 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"require": {
"php": ">=8.1",
"aura/di": "@stable",
"aura/router": "@stable",
"apereo/phpcas": "@stable",
"guzzlehttp/guzzle": "@stable",
"graylog2/gelf-php": "^1",
"laminas/laminas-log": "@stable",
"twig/twig": "@stable"
"aura/di": "@stable",
"aura/router": "@stable",
"apereo/phpcas": "@stable",
"google/recaptcha": "@stable",
"guzzlehttp/guzzle": "@stable",
"graylog2/gelf-php": "^1",
"laminas/laminas-log": "^2.17",
"twig/twig": "@stable"
},
"require-dev": {
"phpunit/phpunit": "@stable"
"phpunit/phpunit": "@stable"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 16aadf1

Please sign in to comment.