-
Dries Buytaert authored
* 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.
21eb666a