Hi Guys,
I am trying to customise registration mail templates. And i realised something,
1- When an user register to a site, moderation activated, firstly user gets aprovals mail with
username/email + pass
2- If admin aprove user aplication, user gets aproved mail with username/email and a login button

(without pass)
I think we are going wrong way! why? Because user will need a pass after aplication aproved, so password should be in approved mail (cause pass generated randomly with Facebook registration) or both .
So i copied these codes below from aprovel mail template and paste them to aproved mail temlate, but i got pasword: (empty) in aproved mail, what i am missing ?

Please look at screenshot attached
<table align="center" width="380" style="margin-top:-35px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="color:#888;border-top: 1px solid #ebebeb;padding: 15px 20px; background-color:#f8f9fb;font-size:13px;text-align:center">
<?php echo JText::_( 'COM_EASYSOCIAL_EMAILS_USERNAME' ); ?>: <?php echo $username;?>
</td>
</tr>
<?php if( $this->config->get( 'registrations.email.password' ) ){ ?>
<tr>
<td style="color:#888;border-top: 1px solid #ebebeb;padding: 15px 20px; background-color:#f8f9fb;font-size:13px;text-align:center">
<?php echo JText::_( 'COM_EASYSOCIAL_EMAILS_PASSWORD' ); ?>: <?php echo $password;?>
</td>
</tr>
<?php } ?>
</table>