From fd54704d3e6d889d792b4be72f52e81a51e172d5 Mon Sep 17 00:00:00 2001 From: Miha Mencin Date: Wed, 15 Dec 2021 14:17:51 +0100 Subject: [PATCH] SCI-6271 Allow giot_connect to be shown in connected accounts --- .../users/settings/account/connected_accounts/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/settings/account/connected_accounts/index.html.erb b/app/views/users/settings/account/connected_accounts/index.html.erb index 526aedf41..3e056aa6f 100644 --- a/app/views/users/settings/account/connected_accounts/index.html.erb +++ b/app/views/users/settings/account/connected_accounts/index.html.erb @@ -11,7 +11,7 @@ <% if @linked_accounts.any? %> <% @linked_accounts.each do |provider| %> - <% if Rails.configuration.x.azure_ad_apps.find { |_,value| value[:provider] == provider } %> + <% if Rails.configuration.x.azure_ad_apps.find { |_,value| value[:provider] == provider || provider == 'giot_connect'} %> <% if lookup_context.exists?(provider, 'users/settings/account/connected_accounts', true) %> <%= render partial: provider %> <% else %>