$user = user_load($uaccount->uid);
$variables['!approved'] = $user->status ? 'approved': 'blocked';
Those two lines just need to be added in the user_register_notify_mail function...
Depending on site configuration, a lot of accounts can be created automatically for non-sensitive roles, but where certain roles require additional processing.
Putting the status in the email will let the administrator know if he really needs to get off the couch and go look at this user, or if the system is already handling it.
Comments
Comment #1
rmiddle commentedCommit to dev branch will be in next release 6.x-1.12 & 7.x-1.0-alpha2.
Thanks
Robert
Comment #3
jvieille commentedThe status is included, but is wrong
It is notified as "Blocked" when set to "Active
Comment #4
hass commentedTested with D7