Skip to content

Commit

Permalink
Dev Nicer sender address when sending password reminder
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Oct 21, 2013
1 parent 468bbf4 commit e0c2311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/authentication.php
Expand Up @@ -119,7 +119,7 @@ public function forgotpassword()
private function _sendPasswordEmail($sEmailAddr, $aFields)
{
$clang = $this->getController()->lang;
$sFrom = Yii::app()->getConfig('siteadminemail');
$sFrom = Yii::app()->getConfig("siteadminname") . " <" . Yii::app()->getConfig("siteadminemail") . ">";
$sTo = $sEmailAddr;
$sSubject = $clang->gT('User data');
$sNewPass = createPassword();
Expand Down

0 comments on commit e0c2311

Please sign in to comment.