Closed sunnysideup closed 1 year ago
I think b
is a good point I've made an adjustment to account for that case however with a
based on what I'm reading here success is boolean true or false so I think that case is covered right.
Great! Thank you for looking at this.
Tag coming soonish, waiting for SS5 to hit RC/find some time to confirm this works properly there. 99% sure it'll work just fine, I just haven't had the time to test 😄
I am looking here:
https://github.com/UndefinedOffset/silverstripe-nocaptcha/blob/master/src/Forms/NocaptchaField.php#L313-L316
I wonder:
a. when it is successful,
success
= 1, this means thatsuccess
= 0 should be error?b. if no
success
key is returned then it will not throw an error.