1
1
# Owl.reCAPTCHA
2
- Google reCAPTCHA for ASP NET Core 7.0 (v3 and v2)
2
+ Google reCAPTCHA for ASP NET Core (v3 and v2)
3
3
4
4
# Install-Package
5
5
@@ -30,6 +30,12 @@ services.AddreCAPTCHAV3(x =>
30
30
31
31
<recaptcha-script-v3 />
32
32
33
+ @*
34
+ Hide-the-recaptcha-badge
35
+ https://developers.google.com/recaptcha/docs/faq#id-like-to-hide-the-recaptcha-badge.-what-is-allowed
36
+ <recaptcha-script-v3 hide-badge="true" />
37
+ *@
38
+
33
39
<script>
34
40
function callback(token) {
35
41
document.getElementById("token").value = token;
@@ -58,6 +64,13 @@ services.AddreCAPTCHAV3(x =>
58
64
</script>
59
65
60
66
<recaptcha-script-v3 />
67
+
68
+ @*
69
+ Hide-the-recaptcha-badge
70
+ https://developers.google.com/recaptcha/docs/faq#id-like-to-hide-the-recaptcha-badge.-what-is-allowed
71
+ <recaptcha-script-v3 hide-badge="true" />
72
+ *@
73
+
61
74
<recaptcha-script-v3-js action="login" execute="false" />
62
75
```
63
76
@@ -146,6 +159,12 @@ services.AddreCAPTCHAV2(x =>
146
159
147
160
<recaptcha-script-v2 onload="onload" />
148
161
162
+ @*
163
+ Hide-the-recaptcha-badge
164
+ https://developers.google.com/recaptcha/docs/faq#id-like-to-hide-the-recaptcha-badge.-what-is-allowed
165
+ <recaptcha-script-v2 hide-badge="true" />
166
+ *@
167
+
149
168
<form method="POST">
150
169
<input id="token" name="token" type="text" />
151
170
<input id="submit" type="submit" value="submit" />
@@ -168,6 +187,12 @@ services.AddreCAPTCHAV2(x =>
168
187
169
188
<recaptcha-script-v2 />
170
189
190
+ @*
191
+ Hide-the-recaptcha-badge
192
+ https://developers.google.com/recaptcha/docs/faq#id-like-to-hide-the-recaptcha-badge.-what-is-allowed
193
+ <recaptcha-script-v2 hide-badge="true" />
194
+ *@
195
+
171
196
<form id="demo-form" method="POST">
172
197
<input id="token" name="token" type="text" />
173
198
<button recaptcha-v2-callback="callback" recaptcha-v2-size="invisible">Submit</button>
0 commit comments