- Patch #88474 by webernet: fixed incorrect commit.
parent
6675dbc68c
commit
13232aba97
|
@ -700,8 +700,6 @@ function user_menu($may_cache) {
|
|||
$items[] = array('path' => 'user/login', 'title' => t('log in'),
|
||||
'callback' => 'drupal_get_form', 'callback arguments' => array('user_login'),
|
||||
'access' => !$user->uid, 'type' => MENU_DEFAULT_LOCAL_TASK);
|
||||
$items[] = array('path' => 'user/login', 'title' => t('Log in'),
|
||||
'callback' => 'drupal_get_form', 'callback arguments' => array('user_login'), 'access' => TRUE, 'type' => MENU_DEFAULT_LOCAL_TASK);
|
||||
$items[] = array('path' => 'user/register', 'title' => t('Create new account'),
|
||||
'callback' => 'drupal_get_form', 'callback arguments' => array('user_register'), 'access' => !$user->uid && variable_get('user_register', 1), 'type' => MENU_LOCAL_TASK);
|
||||
$items[] = array('path' => 'user/password', 'title' => t('Request new password'),
|
||||
|
|
Loading…
Reference in New Issue