Commit 9e288f806c56a8c1891b54d5cd2b42f8a8866663
1 parent
8119c15b
Exists in
master
if value finded, return when maping mutable user attribute schema
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
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