1
0
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:
Nicolas Florentin 2023-11-09 18:13:13 +01:00
parent 7c3e84cc6d
commit 9f77f8ab2b
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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|