allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [27/28] git commit: [#7523] tell user verification email is coming, so they dont click the verify link and reset the hash
Date Fri, 18 Jul 2014 19:02:34 GMT
[#7523] tell user verification email is coming, so they dont click the verify link and reset
the hash


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

Branch: refs/heads/db/7523
Commit: 447d6a64a2f98b654cc0a354c2b85c10117dde49
Parents: a707e7f
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Jul 2 21:00:19 2014 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri Jul 18 19:01:24 2014 +0000

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


http://git-wip-us.apache.org/repos/asf/allura/blob/447d6a64/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 1538c0b..72737cb 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -433,6 +433,7 @@ class PreferencesController(BaseController):
                     em = M.EmailAddress.upsert(new_addr['addr'])
                     em.claimed_by_user_id = c.user._id
                     em.send_verification_link()
+                    flash('A verification email has been sent.  Please check your email and
click to confirm.')
                 else:
                     flash('Email address %s is invalid' % new_addr['addr'], 'error')
             if not primary_addr and not c.user.get_pref('email_address') and c.user.email_addresses:


Mime
View raw message