You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2014/09/12 12:29:23 UTC

[09/28] git commit: [#7527] Flush email address

[#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 <al...@slashdotmedia.com>
Authored: Tue Aug 26 15:27:58 2014 +0000
Committer: Dave Brondsema <db...@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):