mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
(fix) avoids crash due to oidc config with scope = nil
This commit is contained in:
parent
7c3e84cc6d
commit
9f77f8ab2b
@ -6,6 +6,7 @@
|
||||
- adds a migrations to fix all statistic_sub_types of plans having label = nil
|
||||
- Fix a bug: unable to show wallet payment mean for avoir
|
||||
- updates spanish translations
|
||||
- Fix a bug: avoids crash due to oidc config with scope = nil
|
||||
|
||||
## v6.3.0 2023 November 3
|
||||
|
||||
|
@ -20,7 +20,7 @@ class ProviderConfig
|
||||
|
||||
(@config[:providable_attributes].keys.filter { |n| !n.start_with?('client__') && n != 'profile_url' }.map do |n|
|
||||
val = @config[:providable_attributes][n]
|
||||
val.join(' ') if n == 'scope'
|
||||
val&.join(' ') if n == 'scope'
|
||||
[n, val]
|
||||
end).push(
|
||||
['client_options', @config[:providable_attributes].keys.filter { |n| n.start_with?('client__') }.to_h do |n|
|
||||
|
Loading…
Reference in New Issue
Block a user