afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-03-29 05:30 pm

[dw-free] Name of sender of validation emails not set to 'Dreamwidth Studios'

[commit: http://hg.dwscoalition.org/dw-free/rev/4a759f0be502]

http://bugs.dwscoalition.org/show_bug.cgi?id=510

Set name of validation email sender to $LJ::SITENAME

Patch by [staff profile] denise.

Files modified:
  • htdocs/changeemail.bml
  • htdocs/register.bml
--------------------------------------------------------------------------------
diff -r 3df09dde941e -r 4a759f0be502 htdocs/changeemail.bml
--- a/htdocs/changeemail.bml	Sun Mar 29 15:32:58 2009 +0000
+++ b/htdocs/changeemail.bml	Sun Mar 29 17:29:55 2009 +0000
@@ -148,6 +148,7 @@ warn "send email to old address: $old_em
         LJ::send_mail({
             'to'      => $old_email,
             'from'    => $LJ::ADMIN_EMAIL,
+            'fromname' => $LJ::SITENAME,
             'charset' => 'utf-8',
             'subject' => $ML{'/editinfo.bml.newemail_old.subject'},
             'body'    => BML::ml('/editinfo.bml.newemail_old.body2',
diff -r 3df09dde941e -r 4a759f0be502 htdocs/register.bml
--- a/htdocs/register.bml	Sun Mar 29 15:32:58 2009 +0000
+++ b/htdocs/register.bml	Sun Mar 29 17:29:55 2009 +0000
@@ -55,6 +55,7 @@ body<=
          'to' => $u->email_raw,
          'bcc' => $foru ? $remote->email_raw : undef,
          'from' => $LJ::ADMIN_EMAIL,
+         'fromname' => $LJ::SITENAME,
          'charset' => 'utf-8',
          'subject' => $ML{'.email.subject'},
          'body' => BML::ml('.email.body',
--------------------------------------------------------------------------------