Index: modules/user/user.pages.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.pages.inc,v
retrieving revision 1.34
diff -u -p -r1.34 user.pages.inc
--- modules/user/user.pages.inc	20 Apr 2009 04:41:35 -0000	1.34
+++ modules/user/user.pages.inc	5 May 2009 22:19:48 -0000
@@ -124,6 +124,7 @@ function user_pass_reset(&$form_state, $
       // Deny access, no more clues.
       // Everything will be in the watchdog's URL for the administrator to check.
       drupal_access_denied();
+      exit;
     }
   }
 }
@@ -530,6 +531,7 @@ function user_cancel_confirm($account, $
     }
   }
   drupal_access_denied();
+  exit;
 }
 
 function user_edit_validate($form, &$form_state) {
