You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/07/18 20:59:48 UTC

git commit: [#7526] Corrected headers for verification emails

Repository: allura
Updated Branches:
  refs/heads/master b6d0bc0d4 -> 023473765


[#7526] Corrected headers for verification emails


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/02347376
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/02347376
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/02347376

Branch: refs/heads/master
Commit: 0234737659022200a5ade36f9db7af2a20f931de
Parents: b6d0bc0
Author: Alexander Luberg <al...@slashdotmedia.com>
Authored: Thu Jul 17 14:46:03 2014 -0700
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri Jul 18 18:54:09 2014 +0000

----------------------------------------------------------------------
 Allura/allura/model/auth.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/02347376/Allura/allura/model/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py
index 932dd17..ed3c4d0 100644
--- a/Allura/allura/model/auth.py
+++ b/Allura/allura/model/auth.py
@@ -155,11 +155,11 @@ please visit the following URL:
     %s
 ''' % (self._id, self.claimed_by_user().username, g.url('/auth/verify_addr', a=self.nonce))
         log.info('Verification email:\n%s', text)
-        allura.tasks.mail_tasks.sendmail.post(
-            destinations=[self._id],
-            fromaddr=self._id,
-            reply_to='',
-            subject='Email address verification',
+        allura.tasks.mail_tasks.sendsimplemail.post(
+            fromaddr=g.noreply,
+            reply_to=g.noreply,
+            toaddr=self._id,
+            subject='%s - Email address verification' % config['site_name'],
             message_id=h.gen_message_id(),
             text=text)