allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [11/15] allura git commit: [#7704] ticket:662 Mention verification email in flash message
Date Mon, 17 Nov 2014 19:43:17 GMT
[#7704] ticket:662 Mention verification email in flash message


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

Branch: refs/heads/master
Commit: 50eeec2c1e3a477221d92fa7b6cfbb63e18779fa
Parents: d99f238
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Wed Oct 15 11:47:43 2014 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Mon Nov 17 19:18:04 2014 +0000

----------------------------------------------------------------------
 Allura/allura/controllers/auth.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/50eeec2c/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 875ebeb..35d8207 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -233,7 +233,9 @@ class AuthController(BaseController):
         if require_email:
             em = user.claim_address(email)
             em.send_verification_link()
-        flash('User "%s" registered' % username)
+            flash('User "%s" registered. Verification link was sent to your email.' % username)
+        else:
+            flash('User "%s" registered' % username)
         redirect('/')
 
     @expose()


Mime
View raw message