Arc Forumnew | comments | leaders | submitlogin
2 points by akkartik 415 days ago | link | parent

Can you share the input JSON? Let's treat this as a bug and see if we can fix it.

3 points by krapp 415 days ago | link

It's just the default Recaptcha response found here[0]:

    {"success": true,  
     "challenge_ts": "2018-08-03T22:31:05Z",  
     "hostname": ""}

edit: I went ahead and pushed my current working branch[1] if anyone wants to see it.



2 points by hjek 406 days ago | link

Great, that looks fine. Then you can just access the `success` key like this:

    ($ (require json))
       ((w/instring json "{\"success\":false}"
                          ($.read-json json))
       'success ; proceed to login
       'fail    ; must be a robot then