I want to send username and password to the newly registered users
In yii-user it has the code below in RegistrationController
if (Yii::app()->controller->module->sendActivationMail) {
$activation_url = $this->createAbsoluteUrl('/user/activation/activation',array("activkey" => $model->activkey, "email" => $model->email));
UserModule::sendMail($model->email,UserModule::t("You have registered from {site_name}",array('{site_name}'=>Yii::app()->name)),UserModule::t("Please activate you account go to {activation_url}",array('{activation_url}'=>$activation_url)));
}
My problem is, instead of activation code/url, i want their username and password to be mail.
thanks.
regards,
jhekz41