!first_name and !last_name don't work on Account delete email
roball - June 17, 2009 - 17:25
| Project: | LDAP provisioning |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
At admin/settings/ldap/ldapprov, under "E-mail settings -> Account delete email" available variables are listed to be: !site, !mailto, !first_name, !last_name, !date, !username. However, when using !first_name or !last_name, they will not resolve into anything.
I am using the latest dev version (2009-Jun-04) and do NOT use the "Content Profile" module.

#1
Those tokens are resolved only if the user was created using the ldap_provisioning module. In this case the module saves the first and last name values used when registering to the site and can use them in the email. If you delete a user created via ordinary drupal procedures, ldap_provisioning does not know the first and last names to substitute the tokens.