mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
fix sso data mmaing: if no mapping were defined for an integer value, set the raw value
This commit is contained in:
parent
205c45060a
commit
81a6b996ee
@ -65,6 +65,10 @@ module OmniAuth
|
||||
break
|
||||
end
|
||||
end
|
||||
# if no transformation had set any value, set the raw value
|
||||
unless @parsed_info[local_sym(mapping)]
|
||||
@parsed_info[local_sym(mapping)] = raw_info[mapping.api_endpoint.to_sym][mapping.api_field]
|
||||
end
|
||||
|
||||
## BOOLEAN
|
||||
when 'boolean'
|
||||
|
Loading…
x
Reference in New Issue
Block a user