Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
ec_useracc.patch | 1.85 KB | KingMoore | |
Comments
Comment #1
KingMoore CreditAttribution: KingMoore commentedComment #2
vipconsult CreditAttribution: vipconsult commentedAfter 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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>