OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/users/form/authentication/_form.html.erb

12 lines
482 B

<section class="form--section">
<h3 class="form--section-title"><%=t(:label_authentication)%></h3>
<% if @user.uses_external_authentication? %>
<%= render partial: 'users/form/authentication/external', locals: { f: f } %>
<% else %>
<%= render partial: 'users/form/authentication/auth_source', locals: { f: f } %>
<% if current_user.admin? %>
<%= render partial: 'users/form/authentication/internal', locals: { f: f } %>
<% end %>
<% end %>
</section>