This might be 'by design' so that you don't click through the form.

But admin@localhost is caught by D7's email validation as invalid. It should be something like admin@example.com.

CommentFileSizeAuthor
#2 panopoly-n1555626.patch1.16 KBdamienmckenna

Comments

webchick’s picture

I see. So the code's doing this:

  $form['site_information']['site_mail']['#default_value'] = 'admin@'. $_SERVER['HTTP_HOST'];

That's pretty much what you want in the cases where you're installing from www.realdomain.com. So this probably isn't worth fixing, unless we want a special-case for localhost. I'll leave for populist to take a look at. Happy to roll the patch if desired.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new1.16 KB

This patch skips assigning the email address if the hostname is 'localhost'.

populist’s picture

Status: Needs review » Fixed

Lovely. Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.