dongdayu 6 anni fa
parent
commit
e270a30b86
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3
    1
      src/lib/validCaptchaParams.js

+ 3
- 1
src/lib/validCaptchaParams.js Vedi File

@@ -6,6 +6,8 @@ export default params => {
6 6
     typeof params.success === 'number' &&
7 7
     typeof params.gt === 'string' &&
8 8
     typeof params.challenge === 'string',
9
-    'captcha params must be an object have success(Number) gt(String) challenge(String), but get %s', params
9
+    'captcha params must be an object have \
10
+    success(Number) gt(String) challenge(String), but get %s',
11
+    JSON.stringify(params)
10 12
   )
11 13
 }