A previous revision removed the line of code creating an $account array from $object so no actual data was getting into the token $values array. This patch removes references to $account and now assigns the values directly from $object. I have also added one additional token, $tokens['user']['user-new-account-name'], which is the username for the account just created. It is not available elsewhere as the user does not get logged in.

CommentFileSizeAuthor
ec_useracc.patch1.85 KBKingMoore
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

KingMoore’s picture

Status: Active » Reviewed & tested by the community
vipconsult’s picture

Status: Reviewed & tested by the community » Needs work

After applying the patch no values are asigned as well. So I will reopen this issue.
Below is the consirmation Email I get :

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Dear [firstname],

Thank you for registering at Vip-Consult Software. You may now log in to [user-login-url] using the following username and password:

username: [username]
password: [user-clear-password]

You may also log in by clicking on this link or copying and pasting it in your browser:

[user-reset-url]

This is a one-time login, so it can be used only once.

After logging in, you will be redirected to [user-edit-url] so you can change your password.

Your new Vip-Consult Software membership also enables to you to login to other Drupal powered websites (e.g. http://drupal.org/) without registering. Just use the following Drupal ID and password:

Drupal ID: [username]@[site-url-brief]
password: [user-clear-password]

Vip-Consult Software team
http://www.vip-consult-software.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>