Commit 310dbd43 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#172765 follow up patch by pwolanin: fix user path access, which was broken by...

#172765 follow up patch by pwolanin: fix user path access, which was broken by the user module split
parent ed4c2ab9
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment