Skip to content

Commit

Permalink
Remove institutional credential from profile edit
Browse files Browse the repository at this point in the history
The view was showing ways of linking an account with external
authenticators for SHIBBOLETH. We had decided to remove this
functionality but this view was missed.
  • Loading branch information
lagoan committed Aug 18, 2020
1 parent 43f11d7 commit 02fbd34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/devise/registrations/_personal_details.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@
</div>
<% end %>

<!-- SHIBBOLETH CREDENTIALS -->
<% @identifier_schemes.each do |scheme| %>
<div class="form-group col-xs-8">
<% next if scheme.name.downcase == 'shibboleth' && !Rails.application.config.shibboleth_enabled %>
<% if scheme.name.downcase == 'shibboleth' %>
<label class='control-label'>
<span class="aria-only" aria-hidden="false"><%= _('Institutional credentials') %></span>
Expand Down

0 comments on commit 02fbd34

Please sign in to comment.