mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 03:06:28 +08:00
SCI-6271 Allow giot_connect to be shown in connected accounts
This commit is contained in:
parent
285d20849c
commit
fd54704d3e
1 changed files with 1 additions and 1 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue