Commit 9e288f806c56a8c1891b54d5cd2b42f8a8866663

Authored by ๆŽ่™น้œ–
1 parent 8119c15b
Exists in master

if value finded, return when maping mutable user attribute schema

app/controllers/scim_rails/scim_users_controller.rb
@@ -109,7 +109,7 @@ module ScimRails @@ -109,7 +109,7 @@ module ScimRails
109 end 109 end
110 110
111 ScimRails.config.mutable_user_attributes.each do |attribute| 111 ScimRails.config.mutable_user_attributes.each do |attribute|
112 - hash[attribute] = find_value_for(attribute) 112 + hash[attribute] ||= find_value_for(attribute)
113 end 113 end
114 hash 114 hash
115 end 115 end
lib/scim_rails/version.rb
1 module ScimRails 1 module ScimRails
2 - VERSION = "0.4.3" 2 + VERSION = "0.4.4"
3 end 3 end