DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Remove The "request New Password" Link

03.15.2007
| 8865 views |
  • submit to reddit
        // Remove the "request new password" link

// user.module 
// Just comment (or remove) the following line in user_login_block function:
// $items[] = l(t('Request new password'), 'user/password', array('title' => t('Request new password via e-mail.')));