Skip to content

Commit

Permalink
Add testing sitekey and secretkey to the project.
Browse files Browse the repository at this point in the history
  • Loading branch information
jooni91 committed Feb 16, 2020
1 parent bfdd092 commit 5223600
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions Samples/ReCaptcha.Sample/ReCaptcha.Sample.csproj
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<UserSecretsId>cb37c7e9-9d7a-4955-aaaa-b4c286ff48fc</UserSecretsId>
</PropertyGroup>

<ItemGroup>
Expand Down
8 changes: 7 additions & 1 deletion Samples/ReCaptcha.Sample/appsettings.json
Expand Up @@ -6,5 +6,11 @@
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
"AllowedHosts": "*",

// Got test keys for reCAPTCHA v2 from https://developers.google.com/recaptcha/docs/faq
"RecaptchaSettings": {
"SiteKey": "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI",
"SecretKey": "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"
}
}
4 changes: 4 additions & 0 deletions src/ReCaptcha/ReCaptcha.csproj
Expand Up @@ -47,4 +47,8 @@
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<Folder Include="TagHelpers\" />
</ItemGroup>

</Project>

0 comments on commit 5223600

Please sign in to comment.