Confirmation e-mails are sent to the administrator account...

omar - November 18, 2008 - 22:14
Project:Hosting
Version:5.x-0.1-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

... and not to the user's account.

#1

omar - November 18, 2008 - 22:17

... due to the fact that all sites have "webmaster@localhost" as the email for uid#1

#2

adrian - November 19, 2008 - 01:42

Use the signup form to create sites and client nodes in one action

#3

omar - November 19, 2008 - 16:02

I'll try that. But this implies that we shouldn't use "create content >> site"?

#4

adrian - November 19, 2008 - 16:15

You can. if the client already exists.

create content >> site is more for admin use.

The clients will be able to create sites from themselves using node/$client_id/add/site
new clients can create accounts for themselves using hosting/signup.

#5

anarcat - November 27, 2008 - 22:51

I still feel that the contact email for the site should be the user. In fact, it could be considered that the user that created the site for client X is the main contact for the site. The hosting interface should also allow this setting to be changed on the fly and send password reset emails...

For future reference, the code that sets the client_email is in hosting_client.module, in hosting_client_provision_args(). The mail itself is sent from provision_drupal_send_welcome_mail .

#6

markfoodyburton - February 2, 2009 - 16:54

The patch at :http://drupal.org/node/368020#comment-1234065 - MAY help.

#7

anarcat - May 14, 2009 - 17:54

Basically, my current stance on this bug is that we shouldn't have an email associated with the client, but with the users. Emails should be sent to some or all users of the client with the login URL.

I am also considering blending OpenID in there since we have a user database that is shared with our openid provider: every aegir user has an openid associated to it that we could just setup in the admin account of the new site. See #462790: enable SSO in deployed sites.

 
 

Drupal is a registered trademark of Dries Buytaert.