--- modules/contact.module.orig	2005-09-13 23:45:18.000000000 -0400
+++ modules/contact.module	2005-09-13 23:45:45.000000000 -0400
@@ -102,6 +102,7 @@
         if (!$edit['subject']) {
           form_set_error('subject', t('You must enter a subject.'));
         }
+        form_validate($edit, $edit['mail'] . $user->name . $user->mail);
 
         if (!form_get_errors()) {
           // Compose the body:
@@ -154,6 +155,7 @@
       $output .= form_textfield(t('Subject'), 'subject', $edit['subject'], 60, 50, NULL, NULL, TRUE);
       $output .= form_textarea(t('Message'), 'message', $edit['message'], 60, 15, NULL, NULL, TRUE);
       $output .= form_checkbox(t('Send me a copy.'), 'copy', $edit['copy']);
+      $output .= form_token($edit['mail'] . $user->name . $user->mail);
       $output .= form_submit(t('Send e-mail'));
       $output  = form($output);
     }
@@ -260,6 +262,7 @@
           form_set_error('category', t('You must select a valid category.'));
         }
       }
+      form_validate($edit, $user->name . $user->mail);
 
       if (!form_get_errors()) {
         // Prepare the sender:
@@ -328,6 +331,7 @@
       }
       $output .= form_textarea(t('Message'), 'message', $edit['message'], 60, 5, NULL, NULL, TRUE);
       $output .= form_checkbox(t('Send me a copy.'), 'copy', $edit['copy']);
+      $output .= form_token($user->name . $user->mail);
       $output .= form_submit(t('Send e-mail'));
       $output  = form($output);
     }
