I've got a logintoboggan (http://drupal.org/project/logintoboggan/) module and my login is an email adress, so I dont want to have a "Name: " field on my profile edit page.
But when i just call in my theme preprocess page:
$vars['form']['account']['name']['#required'] = FALSE;
or unset() the field I've got an error:
Username field is required.
How can I disable validation of this field? Thanks!