allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [5/5] allura git commit: [#8032] make email addresses primary.
Date Fri, 05 Feb 2016 17:32:16 GMT
[#8032] make email addresses primary.


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

Branch: refs/heads/master
Commit: d4a1819a2734396f39e29920037bd3969f5cbd25
Parents: 9caa879
Author: dastanforever <pranav.sharma.nits@gmail.com>
Authored: Mon Jan 11 11:07:23 2016 +0530
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Fri Feb 5 12:22:44 2016 -0500

----------------------------------------------------------------------
 Allura/allura/websetup/bootstrap.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/d4a1819a/Allura/allura/websetup/bootstrap.py
----------------------------------------------------------------------
diff --git a/Allura/allura/websetup/bootstrap.py b/Allura/allura/websetup/bootstrap.py
index 111b4e3..f9cc65d 100644
--- a/Allura/allura/websetup/bootstrap.py
+++ b/Allura/allura/websetup/bootstrap.py
@@ -344,6 +344,7 @@ def create_user(display_name, username=None, password='foo', make_project=False)
     kw = {"email": email}
     em = EmailAddress.get(**kw)
     em.confirmed = True
+    user.set_pref('email_address',email)
     user.set_password(password)
     return user
 


Mime
View raw message