}
/* We could well do better address validation but for now we'll just do the
* minimum */
+ /* TODO use email_valid() */
if(!strchr(email, '@')) {
login_error("bademail");
return;
}
} else
password = password2 = 0;
+ /* TODO use email_valid() */
if(email && !strchr(email, '@')) {
login_error("bademail");
return;