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/02 23:38:48 UTC

[4/4] git commit: [#7452] tell user verification email is coming, so they dont click the verify link and reset the hash

[#7452] 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/03a196f3
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/03a196f3
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/03a196f3

Branch: refs/heads/db/7452
Commit: 03a196f385792d8e103b9170b08036ce97226ed4
Parents: 284b730
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed Jul 2 21:00:19 2014 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Jul 2 21:01:25 2014 +0000

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


http://git-wip-us.apache.org/repos/asf/allura/blob/03a196f3/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 43d75c9..b13a3e7 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -426,6 +426,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: