Minor fixes
This commit is contained in:
parent
0e40f0691e
commit
fcfc724db5
@ -183,9 +183,9 @@ The `@ratelimit` decorator enforces strict rate limits while `@hoptcha_protected
|
|||||||
You can override the default iframe and style using the optional onCaptcha parameter in the hoptchaPost() JavaScript function. This is useful if you want to match your app’s branding or use modals.
|
You can override the default iframe and style using the optional onCaptcha parameter in the hoptchaPost() JavaScript function. This is useful if you want to match your app’s branding or use modals.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
hoptchaPost('/endpoint', payload, onSuccess, onError, function renderCustom(url, key) {
|
hoptchaPost('/endpoint', payload, onSuccess, onError, function renderCustom(url) {
|
||||||
// Replace container with your custom implementation
|
// Replace container with your custom implementation
|
||||||
$('#myCustomCaptchaArea').html(`<iframe src="${url}?client_key=${key}"></iframe>`);
|
$('#myCustomCaptchaArea').html(`<iframe src="${url}"></iframe>`);
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user