mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-26 20:54:21 +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
|
- 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
|
- Fix a bug: unable to show wallet payment mean for avoir
|
||||||
- updates spanish translations
|
- updates spanish translations
|
||||||
|
- Fix a bug: avoids crash due to oidc config with scope = nil
|
||||||
|
|
||||||
## v6.3.0 2023 November 3
|
## 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|
|
(@config[:providable_attributes].keys.filter { |n| !n.start_with?('client__') && n != 'profile_url' }.map do |n|
|
||||||
val = @config[:providable_attributes][n]
|
val = @config[:providable_attributes][n]
|
||||||
val.join(' ') if n == 'scope'
|
val&.join(' ') if n == 'scope'
|
||||||
[n, val]
|
[n, val]
|
||||||
end).push(
|
end).push(
|
||||||
['client_options', @config[:providable_attributes].keys.filter { |n| n.start_with?('client__') }.to_h do |n|
|
['client_options', @config[:providable_attributes].keys.filter { |n| n.start_with?('client__') }.to_h do |n|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user