[ARVADOS] updated: 1.3.0-1570-g2fd0a7680
Git user
git at public.curoverse.com
Thu Sep 5 18:24:30 UTC 2019
Summary of changes:
services/api/app/models/user.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 2fd0a7680e075431baa61288f34bf400ccaae849 (commit)
from 9ff2b6f56e4d0c071d2f436a78bc536c541eaf16 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 2fd0a7680e075431baa61288f34bf400ccaae849
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Thu Sep 5 14:24:07 2019 -0400
15558: Only set identity_url when creating new user record
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb
index 9526f6593..8ab8ea1d8 100644
--- a/services/api/app/models/user.rb
+++ b/services/api/app/models/user.rb
@@ -393,10 +393,10 @@ class User < ArvadosModel
:is_active => Rails.configuration.Users.NewUsersAreActive)
primary_user.set_initial_username(requested: info['username']) if info['username']
+ primary_user.identity_url = info['identity_url'] if identity_url
end
primary_user.email = info['email'] if info['email']
- primary_user.identity_url = info['identity_url'] if identity_url
primary_user.first_name = info['first_name'] if info['first_name']
primary_user.last_name = info['last_name'] if info['last_name']
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list