diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-19 18:00:52 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-19 18:00:52 +0000 |
commit | 310dbd432e6bda63d473e212d6e375534ca16a99 (patch) | |
tree | b7061ef83a97cf7d52537e29be6482bfc7f5a242 /modules/user | |
parent | ed4c2ab92fcecc883052026d55a2a31c314dfbd9 (diff) | |
download | brdo-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.module | 6 |
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( |