[drupal:dries] /modules user.module
User: dries Branch: HEAD Date: Fri, 10 Feb 2006 05:46:39 +0000 Modified files: /modules user.module Log message: - Patch #11031 by Zen: * Makes the user login and password fields in the login _block_ required. * Uses just if ($form['name']) rather than if (isset($form['name']) && $form['name']). AFAIK, using both is unnecessary with the form API. * Changes maxlength for usernames to 60 which is the (rather odd) database value. The maxlength fields at present don't accomodate affiliate logins with extra long usernames/domains, but I've left that issue alone for now. * Removes all instances of maxlength for password. They were a)not being applied with any degree of consistency, and b)unnecessary as only the hash is stored. * Corrects an e-mail address maxlength from 55 to 64. * unset() accepts more than one variable. Links: http://cvs.drupal.org/diff.php?path=drupal/modules/user.module&old=1.581&new...
participants (1)
-
drupal-devel@drupal.org