Skip to content

Commit

Permalink
websites.concatenative: Update recaptcha to work with v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
erg committed Sep 26, 2018
1 parent b52fc78 commit 5a420ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extra/websites/concatenative/concatenative.factor
Expand Up @@ -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
Expand Down

0 comments on commit 5a420ca

Please sign in to comment.