--- modules/user/user.module 2006/07/27 08:07:04 1.641 +++ modules/user/user.module 2006/07/27 11:41:53 @@ -741,6 +741,10 @@ function user_menu($may_cache) { 'type' => MENU_DYNAMIC_ITEM); } + $items[] = array('path' => 'login', 'title' => t('log in'), + 'access' => !($user->uid), + 'callback' => 'drupal_goto', 'callback arguments' => array('user/login', drupal_get_destination()), + 'type' => MENU_SUGGESTED_ITEM | MENU_DYNAMIC_ITEM, 'weight' => -10); $items[] = array('path' => 'logout', 'title' => t('log out'), 'access' => $user->uid != 0, 'callback' => 'user_logout',