Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
This seems to have become a fairly important piece of code, as it needs to be done to get D6 working properly (as the install also creates a placeholder account for you)
The mail bit at the bottom can be replaced with this code from user.module
Comments
Comment #1
adrian commentedThis is how we did it in HM1
Basically you will be taking the --site_admin_email (or something like that) item passed to drupal,
and creating a user account using this.
If you can, please see if you can change this so that it sends the confirmation mail. with the single use link instead.
Comment #2
adrian commentedThis seems to have become a fairly important piece of code, as it needs to be done to get D6 working properly (as the install also creates a placeholder account for you)
The mail bit at the bottom can be replaced with this code from user.module
Comment #3
adrian commentedjust committed a basic starting point
i'm still not receiving emails, but it's definitely my mail admin side of things that is broken.
still need configurable welcome messages and a lot of tidying up.
Comment #4
benkant commentedAdrian's code in HEAD is working for me. The admin user is created and the email is sent.
I'll work on the custom email message, something like hm1, as it uses the password reset mail text at the moment.
Comment #5
benkant commentedDone user account creation.
See http://drupal.org/node/324066 for customer user email.
Comment #6
anarcat commentedput in the right project.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.