We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 883a62e commit b9fe99aCopy full SHA for b9fe99a
src/HttpApi.js
@@ -109,8 +109,8 @@ class UwaveHttpApi extends Router {
109
+ 'secret, or disable hCaptcha validation by setting "options.recaptcha" '
110
+ 'to "false".');
111
}
112
- if (options.recaptcha && options.recaptcha.secret &&
113
- !options.recaptcha.secret.startsWith('0x')) {
+ if (options.recaptcha && options.recaptcha.secret
+ && !options.recaptcha.secret.startsWith('0x')) {
114
throw new Error('hCaptcha validation is enabled, but "options.recaptcha.secret" does not '
115
+ 'look like an hCaptcha secret key. Please use the secret listed on '
116
+ 'https://dashboard.hcaptcha.com/welcome.');
0 commit comments