]> gitweb.factorcode.org Git - factor.git/commitdiff
websites.concatenative: Update recaptcha to work with v2.
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 26 Sep 2018 02:23:47 +0000 (02:23 +0000)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 26 Sep 2018 02:23:47 +0000 (02:23 +0000)
extra/websites/concatenative/concatenative.factor

index a004702d417a3029781dbba19d1e7f3c12c253db..5d93e23e7fdc624b212e5efb289b46a9f3d6a124 100644 (file)
@@ -59,13 +59,13 @@ TUPLE: concatenative-website < dispatcher ;
         allow-edit-profile
         allow-deactivation ;
 
-SYMBOLS: factor-recaptcha-public-key factor-recaptcha-private-key ;
+SYMBOLS: factor-recaptcha-site-key factor-recaptcha-secret-key ;
 
 : <factor-recaptcha> ( responder -- responder' )
     <recaptcha>
         "concatenative.org" >>domain
-        factor-recaptcha-public-key get >>public-key
-        factor-recaptcha-private-key get >>private-key ;
+        factor-recaptcha-site-key get >>site-key
+        factor-recaptcha-secret-key get >>secret-key ;
 
 : <concatenative-website> ( -- responder )
     concatenative-website new-dispatcher