Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Move checkbox

Mir Bhatiae079abdfe44d
diff --git a/app/views/admin/settings/api_settings/show.html.erb b/app/views/admin/settings/api_settings/show.html.erb
index 3c5b7620794..c1d60a754ab 100644
--- a/app/views/admin/settings/api_settings/show.html.erb
+++ b/app/views/admin/settings/api_settings/show.html.erb
@@ -30,6 +30,9 @@ See COPYRIGHT and LICENSE files for more details.
<%= styled_form_tag(admin_settings_api_path, method: :patch) do %>
<section class="form--section">
+ <div class="form--field">
+ <%= setting_check_box :rest_api_enabled %>
+ </div>
<div class="form--field">
<%= setting_number_field :apiv3_max_page_size, min: 50, container_class: '-slim' %>
<div class="form--field-instructions">
diff --git a/app/views/admin/settings/authentication_settings/show.html.erb b/app/views/admin/settings/authentication_settings/show.html.erb
index 0182d1cb2e9..598efafe049 100644
--- a/app/views/admin/settings/authentication_settings/show.html.erb
+++ b/app/views/admin/settings/authentication_settings/show.html.erb
@@ -127,7 +127,6 @@ See COPYRIGHT and LICENSE files for more details.
<fieldset class="form--fieldset">
<legend class="form--fieldset-legend"><%= I18n.t(:other, scope: [:settings]) %></legend>
<div class="form--field -wide-label"><%= setting_check_box :log_requesting_user %></div>
- <div class="form--field -wide-label"><%= setting_check_box :rest_api_enabled %></div>
</fieldset>
</section>
<% unless OpenProject::Configuration.disable_password_login? %>