You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2014/10/15 12:56:21 UTC

[11/12] git commit: [#7704] ticket:662 Mention verification email in flash message

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

Branch: refs/heads/je/42cc_7704
Commit: 6a170300cc1f7d5887ea2cda8def673cd76089da
Parents: 1fdc928
Author: Igor Bondarenko <je...@gmail.com>
Authored: Wed Oct 15 11:47:43 2014 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Wed Oct 15 11:47:43 2014 +0300

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


http://git-wip-us.apache.org/repos/asf/allura/blob/6a170300/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 39e728e..6d95610 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()