mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
Merge pull request #3743 from biosistemika/SCI-6271-fix-connected-accounts
SCI-6271 Allow giot_connect to be shown in connected accounts
This commit is contained in:
commit
a304e97e61
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
<% if @linked_accounts.any? %>
|
<% if @linked_accounts.any? %>
|
||||||
<% @linked_accounts.each do |provider| %>
|
<% @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) %>
|
<% if lookup_context.exists?(provider, 'users/settings/account/connected_accounts', true) %>
|
||||||
<%= render partial: provider %>
|
<%= render partial: provider %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
Loading…
Reference in a new issue