summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-09-19 18:00:52 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-09-19 18:00:52 +0000
commit310dbd432e6bda63d473e212d6e375534ca16a99 (patch)
treeb7061ef83a97cf7d52537e29be6482bfc7f5a242 /modules/user
parented4c2ab92fcecc883052026d55a2a31c314dfbd9 (diff)
downloadbrdo-310dbd432e6bda63d473e212d6e375534ca16a99.tar.gz
brdo-310dbd432e6bda63d473e212d6e375534ca16a99.tar.bz2
#172765 follow up patch by pwolanin: fix user path access, which was broken by the user module split
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 5581bef85..f82cdde5e 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -850,10 +850,10 @@ function user_menu() {
// Registration and login pages.
$items['user'] = array(
'title' => 'Log in',
- 'page callback' => 'drupal_get_form',
- 'page arguments' => array('user_login'),
- 'access callback' => 'user_is_anonymous',
+ 'page callback' => 'user_page',
+ 'access callback' => TRUE,
'type' => MENU_CALLBACK,
+ 'file' => 'user.pages.inc',
);
$items['user/login'] = array(