Skip to content

Commit

Permalink
#297 use friendly-challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberroland committed Feb 14, 2024
1 parent 35c9dcb commit 72db1da
Show file tree
Hide file tree
Showing 4 changed files with 1,159 additions and 1,088 deletions.
2 changes: 1 addition & 1 deletion lam/lib/plugins/captcha/FriendlyCaptcha.inc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class htmlFriendlyCaptcha extends htmlElement {
* @return array List of input field names and their type (name => type)
*/
function generateHTML($module, $input, $values, $restricted, $scope) {
$script = new htmlScript('../lib/extra/friendlyCaptcha/friendlyCaptcha-0.9.13.js');
$script = new htmlScript('../lib/extra/friendlyCaptcha/friendly-challenge-0.9.14.js');
$script->generateHTML($module, $input, $values, $restricted, $scope);
echo '<div class="frc-captcha" data-sitekey="' . $this->key . '"></div>';
return [];
Expand Down
23 changes: 21 additions & 2 deletions lam/sbom-libs.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"bomFormat" : "CycloneDX",
"specVersion" : "1.5",
"serialNumber" : "urn:uuid:1970d9aa-098f-4912-9581-dbeaffdaf024",
"serialNumber" : "urn:uuid:383e49e6-483d-40ee-b1ec-6266b29ee6d1",
"version" : 1,
"metadata" : {
"timestamp" : "2024-02-13T19:48:21Z",
"timestamp" : "2024-02-14T06:58:15Z",
"tools" : [
{
"vendor" : "OWASP",
Expand Down Expand Up @@ -66,6 +66,21 @@
"type" : "library",
"bom-ref" : "c4134441-7211-47d1-a970-202c819157d1"
},
{
"group" : "cdx:npm:package:bundled",
"name" : "friendly-challenge",
"version" : "0.9.14",
"licenses" : [
{
"license" : {
"id" : "MIT"
}
}
],
"purl" : "pkg:npm/[email protected]",
"type" : "library",
"bom-ref" : "5ffbae18-bc06-4fdb-ba19-f9e9e1afdda5"
},
{
"group" : "cdx:npm:package:bundled",
"name" : "jQuery",
Expand Down Expand Up @@ -174,6 +189,10 @@
"ref" : "c4134441-7211-47d1-a970-202c819157d1",
"dependsOn" : [ ]
},
{
"ref" : "5ffbae18-bc06-4fdb-ba19-f9e9e1afdda5",
"dependsOn" : [ ]
},
{
"ref" : "599b305d-5cc9-4fa5-8594-e95bf8c723ef",
"dependsOn" : [ ]
Expand Down
21 changes: 20 additions & 1 deletion lam/sbom.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"bomFormat": "CycloneDX",
"specVersion": "1.5",
"serialNumber": "urn:uuid:a638adf6-d969-4550-9dc8-3c7e09fc5e01",
"serialNumber": "urn:uuid:7e958857-eb9b-4f3d-887d-22f2756ccf7d",
"version": 1,
"metadata": {
"tools": [
Expand Down Expand Up @@ -3710,6 +3710,21 @@
],
"purl": "pkg:npm/[email protected]"
},
{
"type": "library",
"bom-ref": "5ffbae18-bc06-4fdb-ba19-f9e9e1afdda5",
"group": "cdx:npm:package:bundled",
"name": "friendly-challenge",
"version": "0.9.14",
"licenses": [
{
"license": {
"id": "MIT"
}
}
],
"purl": "pkg:npm/[email protected]"
},
{
"type": "library",
"bom-ref": "599b305d-5cc9-4fa5-8594-e95bf8c723ef",
Expand Down Expand Up @@ -4237,6 +4252,10 @@
"ref": "c4134441-7211-47d1-a970-202c819157d1",
"dependsOn": []
},
{
"ref": "5ffbae18-bc06-4fdb-ba19-f9e9e1afdda5",
"dependsOn": []
},
{
"ref": "599b305d-5cc9-4fa5-8594-e95bf8c723ef",
"dependsOn": []
Expand Down
Loading

0 comments on commit 72db1da

Please sign in to comment.