allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [09/28] git commit: [#7527] Flush email address
Date Fri, 12 Sep 2014 10:29:23 GMT
[#7527] Flush email address


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

Branch: refs/heads/je/42cc_4905
Commit: f825a569fa97dfd30058fcc63771de6a770e1311
Parents: e76619a
Author: Alexander Luberg <aluberg@slashdotmedia.com>
Authored: Tue Aug 26 15:27:58 2014 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Aug 28 20:27:01 2014 +0000

----------------------------------------------------------------------
 Allura/allura/model/auth.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/f825a569/Allura/allura/model/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py
index 7cc169d..b7ea34b 100644
--- a/Allura/allura/model/auth.py
+++ b/Allura/allura/model/auth.py
@@ -580,6 +580,7 @@ class User(MappedClass, ActivityNode, ActivityObject):
         if addr in self.email_addresses:
             return
         self.email_addresses.append(addr)
+        session(email_addr).flush(email_addr)
 
     @classmethod
     def register(cls, doc, make_project=True):


Mime
View raw message