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

Hide OAuth credentials after creation

Andreas Pfohleef01f1546e0
diff --git a/modules/storages/app/views/storages/admin/storages/show.html.erb b/modules/storages/app/views/storages/admin/storages/show.html.erb
index 7b80856541f..a5534245e2f 100644
--- a/modules/storages/app/views/storages/admin/storages/show.html.erb
+++ b/modules/storages/app/views/storages/admin/storages/show.html.erb
@@ -110,7 +110,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="attributes-key-value--key">OpenProject <%= t(:'storages.label_oauth_client_secret') %></div>
<div class="attributes-key-value--value-container">
<div class="attributes-key-value--value -text">
- <span><%= short_secret(@object.oauth_application.secret) %></span>
+ <span>●●●●●●●●●●●●●●●●</span>
</div>
</div>
</div>
@@ -134,7 +134,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="attributes-key-value--key"><%= t("storages.provider_types.#{@object.provider_type}") %> <%= t(:'storages.label_oauth_client_secret') %></div>
<div class="attributes-key-value--value-container">
<div class="attributes-key-value--value -text">
- <span><%= short_secret(@object.oauth_client.client_secret) %></span>
+ <span>●●●●●●●●●●●●●●●●</span>
</div>
</div>
</div>