summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-29 19:17:55 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-29 19:17:55 +0000
commitf66606751e738c8d41450749f4046887b8e62333 (patch)
tree50a168977fed9ec2ffbf79d1482d7fb3f9ba84dc /modules/user/user.module
parent76b850ab525c3b338b3e9dcda7babf1fc7698dfc (diff)
downloadbrdo-f66606751e738c8d41450749f4046887b8e62333.tar.gz
brdo-f66606751e738c8d41450749f4046887b8e62333.tar.bz2
- Patch #113872 by webchick: 403 on user/password for anon users.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 7e52861e9..d2ed6208d 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -749,6 +749,7 @@ function user_menu() {
'title' => t('Request new password'),
'page callback' => 'drupal_get_form',
'page arguments' => array('user_pass'),
+ 'access callback' => 'user_is_anonymous',
'type' => MENU_LOCAL_TASK,
);
$items['user/reset/%/%/%'] = array(