Permalink
Browse files

wiki: add a recaptcha

  • Loading branch information...
1 parent 577a823 commit ff5d6d00020169c2ddbe0a4e95e2331da44522c4 Slava Pestov committed May 7, 2011
Showing with 7 additions and 0 deletions.
  1. +4 −0 extra/webapps/wiki/edit.xml
  2. +3 −0 extra/webapps/wiki/wiki.factor
@@ -16,6 +16,10 @@
</p>
<p>
+ <t:recaptcha />
+ </p>
+
+ <p>
<button type="submit">Save</button>
</p>
@@ -9,6 +9,7 @@ http.server
http.server.dispatchers
furnace.actions
furnace.utilities
+furnace.recaptcha
furnace.redirection
furnace.auth
furnace.auth.login
@@ -169,6 +170,8 @@ M: revision feed-entry-url id>> revision-url ;
: <submit-article-action> ( -- action )
<action>
[
+ validate-recaptcha
+
validate-title
{

0 comments on commit ff5d6d0

Please sign in to comment.