Return-Path: X-Original-To: apmail-allura-commits-archive@www.apache.org Delivered-To: apmail-allura-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B32111C7E for ; Fri, 18 Jul 2014 19:02:09 +0000 (UTC) Received: (qmail 32478 invoked by uid 500); 18 Jul 2014 19:02:09 -0000 Delivered-To: apmail-allura-commits-archive@allura.apache.org Received: (qmail 32427 invoked by uid 500); 18 Jul 2014 19:02:09 -0000 Mailing-List: contact commits-help@allura.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@allura.apache.org Delivered-To: mailing list commits@allura.apache.org Received: (qmail 31996 invoked by uid 99); 18 Jul 2014 19:02:08 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2014 19:02:08 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A1B3194F037; Fri, 18 Jul 2014 19:02:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: brondsem@apache.org To: commits@allura.apache.org Date: Fri, 18 Jul 2014 19:02:34 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [27/28] git commit: [#7523] tell user verification email is coming, so they dont click the verify link and reset the hash [#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 Authored: Wed Jul 2 21:00:19 2014 +0000 Committer: Dave Brondsema 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: