allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [4/8] allura git commit: [#7887] ticket:790 Fix phone validation error when user project being created for newly registered user
Date Thu, 04 Jun 2015 21:27:25 GMT
[#7887] ticket:790 Fix phone validation error when user project being created for newly registered
user


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

Branch: refs/heads/master
Commit: eed874e944b2fcbab9570b8f4550098c255dc481
Parents: 49c94ba
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu Jun 4 09:24:10 2015 +0000
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Thu Jun 4 09:24:10 2015 +0000

----------------------------------------------------------------------
 Allura/allura/lib/plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/eed874e9/Allura/allura/lib/plugin.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
index abb5c8c..860292f 100644
--- a/Allura/allura/lib/plugin.py
+++ b/Allura/allura/lib/plugin.py
@@ -818,7 +818,7 @@ class ProjectRegistrationProvider(object):
 
         self.rate_limit(user, neighborhood)
 
-        if not self.phone_verified(user, neighborhood):
+        if not self.phone_verified(user, neighborhood) and not user_project:
             raise forge_exc.ProjectPhoneVerificationError()
 
         if user_project and shortname.startswith('u/'):


Mime
View raw message