23575 Posts in 19402 Topics by 2893 members
|Go to End|
16 December 2013 at 3:32pm Last edited: 16 December 2013 3:33pm
When you procede to a password recovery, in "framework/security/member.php" it says
$from = ''; // setting a blank from address uses the site's default administrator email
Then in "framework/mail/Email.php" it says
if(empty($this->from)) $this->from = Email::config()->admin_email;
But admin_email is NOT defined in database "siteconfig".
After some research, I found you have to had MANUALY in "mysite/_config/config.yml" something like that :
Don't you think that it should be automatic ?
By the way, in "framework/security/Security.php" LOSTPASSWORDHEADER is hardcoded. Whatever the language you use, it will always display the english text hardcoded in this file.
17 December 2013 at 6:23am
As stated on another post the github repo is where to raise issue - or maybe the dev list - but probably not for most.
For the record I don't think this is a good idea as I'd prefer the from is blank unless I set it.
|Go to Top|