You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2016/12/08 23:07:40 UTC

[whimsy] branch master updated: More thorough check of which ids are acceptable

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  cfee820   More thorough check of which ids are acceptable
cfee820 is described below

commit cfee82023dc6443b0f5c6394f74177d9b0a43b55
Author: Sebb <se...@apache.org>
AuthorDate: Thu Dec 8 23:06:18 2016 +0000

    More thorough check of which ids are acceptable
---
 www/secmail/views/actions/check-id.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secmail/views/actions/check-id.json.rb b/www/secmail/views/actions/check-id.json.rb
index afe364b..fcfa1ec 100644
--- a/www/secmail/views/actions/check-id.json.rb
+++ b/www/secmail/views/actions/check-id.json.rb
@@ -1,6 +1,6 @@
 # check to see if an id is available
 
-if ASF::Person.new(@id).icla?
+if ASF::ICLA.taken?(@id)
   {message: 'userid is already taken'}
 else
   {message: ''}

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].